Issue 7001 - Patch - Mozilla NSS - memleak - free the return of tlsm_find_and_verify_cert_key
Summary: Patch - Mozilla NSS - memleak - free the return of tlsm_find_and_verify_cert_...
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 02:43 UTC by rich.megginson@gmail.com
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rich.megginson@gmail.com 2011-07-26 02:43:14 UTC
Full_Name: Rich Megginson
Version: 2.4.26 (tip of git OPENLDAP_REL_ENG_2_4)
OS: RHEL6
URL: ftp://ftp.openldap.org/incoming/0001-Patch-Mozilla-NSS-memleak-free-the-return-of-tlsm_fi.patch
Submission from: (NULL) (76.113.106.30)


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.

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.
Comment 1 Howard Chu 2011-07-28 21:10:45 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2011-10-05 23:42:01 UTC
changed notes
changed state Test to Release
Comment 3 Quanah Gibson-Mount 2011-11-28 18:37:33 UTC
changed notes
changed state Release to Closed
Comment 4 OpenLDAP project 2014-08-01 21:04:38 UTC
fixed in master
fixed in RE24