diff options
author | Rich Megginson <rmeggins@redhat.com> | 2006-10-09 21:42:57 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2006-10-09 21:42:57 +0000 |
commit | 145a4c2511fc8faa0bb1f394198573f2bcb91824 (patch) | |
tree | af54424474a6346bceeb95d8958a26d9fbc0fe9e /ldap/cm/Makefile | |
parent | 49467b2fa4b5069637d0c57c3fb801b350fd47c2 (diff) | |
download | ds-145a4c2511fc8faa0bb1f394198573f2bcb91824.tar.gz ds-145a4c2511fc8faa0bb1f394198573f2bcb91824.tar.xz ds-145a4c2511fc8faa0bb1f394198573f2bcb91824.zip |
Bug(s) fixed: 199321
Bug Description: incorrect base64 encoding of SHA passwords crashes server
Reviewed by: nkinder (Thanks!)
Fix 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
Diffstat (limited to 'ldap/cm/Makefile')
0 files changed, 0 insertions, 0 deletions