]> git.sur5r.net Git - openldap/commit
ITS#7001 MozNSS: free the return of tlsm_find_and_verify_cert_key
authorRich Megginson <rmeggins@redhat.com>
Tue, 26 Jul 2011 02:27:59 +0000 (20:27 -0600)
committerHoward Chu <hyc@openldap.org>
Thu, 28 Jul 2011 21:00:15 +0000 (14:00 -0700)
commitfb4b4f7445d9392fbae097cc861e4cfb1694dcae
tree84999ee7b9825b8dc671d612e208baa15d63c927
parentff7acea2d25b4037f93431909512aeedba33127c
ITS#7001 MozNSS: free the return of tlsm_find_and_verify_cert_key

If tlsm_find_and_verify_cert_key finds the cert and/or key, and it fails
to verify them, it will leave them allocated for the caller to dispose of.
There were a couple of places that were not disposing of the cert and key
upon error.
libraries/libldap/tls_m.c