]> git.sur5r.net Git - openldap/commit
ITS#7291 MozNSS: read pin from file file can cause infinite loop
authorJan Vcelak <jvcelak@redhat.com>
Wed, 6 Jun 2012 12:44:53 +0000 (14:44 +0200)
committerHoward Chu <hyc@openldap.org>
Thu, 7 Jun 2012 12:05:08 +0000 (05:05 -0700)
commit00d0e162720b8cf03b9e5428892158f0768db9a6
treef6dcd4ea89cf63f639aedb1339f0bcec60c0a6db
parent4b6bd2c600a79960409499f43a818aa0ca9fe463
ITS#7291 MozNSS: read pin from file file can cause infinite loop

The buffer allocated for reading password file has to be initialized
with zeros, or we need to append zero at the end of the file. Otherwise
we might read unitialized memory and consider it to be a password.
libraries/libldap/tls_m.c