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

Re: (ITS#4901) malloc/free mismatches in ldapadd

--On Friday, March 30, 2007 2:25 PM +0000 chris.ridd@isode.com wrote:

> Full_Name: Chris Ridd
> Version: 2.3.34
> OS: Windows
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> On Windows, it is important that mallocs done in one DLL are balanced by
> frees done from the same DLL. Failure to do this consistently leads to
> heap corruption.
> This was observed to occur in several places in ldapadd - several buffers
> allocated by ber_memfree() were freed using free().
> Our customer has successfully used a version of ldapadd on Windows
> containing this patch (and the one in ITS 4900.)

Thanks, testing.


Quanah Gibson-Mount
Senior Systems Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html