Skip to content
Snippets Groups Projects
Commit f14cc9dd authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

EFUNs: Do not throw errors on validation failure in crypt().

The glibc crypt() implementation in RHEL 8 apparently sometimes
performs misguided "validation" of the salt even for "$6$" and
fails with EINVAL instead of actually validating the password.

Throwing an error on validation failure is not what existing
code expects, so just return a failure instead in this case.

Fixes #10050.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714219
parent a01340e5
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment