Bug 174830

Summary: ldap_start_tls_s() leaks
Product: Red Hat Enterprise Linux 3 Reporter: Bastien Nocera <bnocera>
Component: openldapAssignee: Jay Fenlason <fenlason>
Status: CLOSED ERRATA QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: high    
Version: 3.0CC: jfeeney, srevivo, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0430 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-11 17:51:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 190430, 212183    
Attachments:
Description Flags
openldap-2.0.27-start_tls-leak.patch
none
simple_leak_test.c none

Description Bastien Nocera 2005-12-02 16:18:27 UTC
the attached test case leaks a couple of bytes of memory each time it's called.

Patch attached.

Comment 1 Bastien Nocera 2005-12-02 16:18:27 UTC
Created attachment 121761 [details]
openldap-2.0.27-start_tls-leak.patch

Comment 2 Bastien Nocera 2005-12-02 16:19:23 UTC
Created attachment 121762 [details]
simple_leak_test.c

Comment 3 Bastien Nocera 2005-12-02 16:20:17 UTC
authid is marked as a const, when it's really a newly allocated string. So mark
it as not const, and free it when we're done.

Comment 7 Daniel Riek 2006-12-15 15:04:19 UTC
PM ACK and adjusting priority to high,

Comment 16 Red Hat Bugzilla 2007-06-11 17:51:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0430.html