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

Re: (ITS#4064) Memory leak in sasl.c (tls.c as well)

> Full_Name: Mike Patnode
> Version: 2.2.26
> OS: RedHat
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> The exact same code is in tls.c as well without the NULL/free check.

It should now be fixed in HEAD/re22

>   It
> would
> probably be better to have an accessor method/macro which set the value of
> ld_error for you, so this problem could be avoided....

ld_error should not be user-accessed but via ldap_get_option(), so the
problem is somewhat limited to keeping the developers' attention at an
appropriate level :)

Thanks for reporting. p.

Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497