Issue 675 - Another memory leak in back-ldbm of slapd
Summary: Another memory leak in back-ldbm of slapd
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: 2000-08-18 14:55 UTC by tjeerd.van.lemel@cmg.nl
Modified: 2014-08-01 21:06 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 tjeerd.van.lemel@cmg.nl 2000-08-18 14:55:51 UTC
Full_Name: Tjeerd van Lemel
Version: 2.0 beta
OS: Tru64 Unix 4.0
URL: ftp://ftp.openldap.org/incoming/Tjeerd-van-Lemel-000818.2
Submission from: (NULL) (195.109.155.66)


The function equality_updates() in servers/slapd/back-ldbm/filterindex.c leaks
memory. In the only for-loop in this function key_read() is called. This
function assigns a pointer to allocated memory to 'tmp'. This variable is used
after the call but never freed.
Comment 1 Kurt Zeilenga 2000-08-18 15:11:59 UTC
Already fixed...  per e-mail from submitter, will close this
and ITS#674.

At 02:55 PM 8/18/00 +0000, tjeerd.van.lemel@cmg.nl wrote:
>Full_Name: Tjeerd van Lemel
>Version: 2.0 beta
>OS: Tru64 Unix 4.0
>URL: ftp://ftp.openldap.org/incoming/Tjeerd-van-Lemel-000818.2
>Submission from: (NULL) (195.109.155.66)
>
>
>The function equality_updates() in servers/slapd/back-ldbm/filterindex.c leaks
>memory. In the only for-loop in this function key_read() is called. This
>function assigns a pointer to allocated memory to 'tmp'. This variable is used
>after the call but never freed.

Comment 2 Kurt Zeilenga 2000-08-18 16:29:57 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:06:11 UTC
previously fixed.