[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6980) Patch - Mozilla NSS - memleak - have to free the return from SSL_PeerCertificate

Full_Name: Rich Megginson
Version: 2.4.25 (current CVS HEAD)
URL: ftp://ftp.openldap.org/incoming/openldap-2.4.25-moznss-free-return-of-SSL_PeerCertificate-20110629.patch
Submission from: (NULL) (

In tlsm_auth_cert_handler, we get the peer's cert from the socket using
SSL_PeerCertificate.  This value is allocated and/or cached.  We must destroy it
using CERT_DestroyCertificate.

These patch files are derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following
patch(es) were developed by Red Hat. Red Hat has not assigned rights
and/or interest in this work to any party. I, Rich Megginson am
authorized by Red Hat, my employer, to release this work under the
following terms.

Red Hat hereby place the following modifications to OpenLDAP Software
(and only these modifications) into the public domain. Hence, these
modifications may be freely used and/or redistributed for any purpose
with or without attribution and/or other notice.