Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 174830 - ldap_start_tls_s() leaks
ldap_start_tls_s() leaks
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: openldap (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Jay Fenlason
Jay Turner
Depends On:
Blocks: 190430 212183
  Show dependency treegraph
Reported: 2005-12-02 11:18 EST by Bastien Nocera
Modified: 2015-01-07 19:11 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2007-0430
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-11 13:51:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
openldap-2.0.27-start_tls-leak.patch (612 bytes, patch)
2005-12-02 11:18 EST, Bastien Nocera
no flags Details | Diff
simple_leak_test.c (859 bytes, text/plain)
2005-12-02 11:19 EST, Bastien Nocera
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0430 normal SHIPPED_LIVE Low: openldap security and bug-fix update 2007-06-07 18:30:55 EDT

  None (edit)
Description Bastien Nocera 2005-12-02 11:18:27 EST
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 11:18:27 EST
Created attachment 121761 [details]
Comment 2 Bastien Nocera 2005-12-02 11:19:23 EST
Created attachment 121762 [details]
Comment 3 Bastien Nocera 2005-12-02 11:20:17 EST
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 10:04:19 EST
PM ACK and adjusting priority to high,
Comment 16 Red Hat Bugzilla 2007-06-11 13:51:58 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.