https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199321 Bug(s) fixed: 199321 Bug Description: incorrect base64 encoding of SHA passwords crashes server Reviewed by: ??? Files: ldapserver/ldap/servers/plugins/pwdstorage/sha_pwd.c Branch: HEADFix Description: Check the return value of ldif_base64_decode to see if it is less than zero first before the other comparisons. This is the error condition, so we can just return an error. Additionally, the other comparisons with the unsigned should be ok since we know that the hash_len is a positive number.
Platforms tested: FC5 Flag Day: no Doc impact: no https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199321#c5
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-devel mailing list Fedora-directory-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-devel