]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 7 Jun 2012 17:09:02 +0000 (10:09 -0700)
commit942bd891da6c2689ed2716f8198deec47868196f
tree3e38a65a3ccc77b9c9d3f744667f5be6306e227d
parentafdad1bf6e323e30b9c324e69349f57a9855190c
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