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

Memory managment (ITS#1256)



Full_Name: Yannick Lecaillez
Version: 2.0.11
OS: Linux 2.4.3 Mandrake 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.251.69.246)


Hello,

	I'm using a library for trace memory allocation/free and memory
operation (mpatrol: http://www.cbmamiga.demon.co.uk/mpatrol/). This library
found a bug in ber_read function : During a ldap_simple_bind_s, this function
was called and do a memmove operation with ZERO length to a freed memory.
Okay, it's a ZERO length but ... it's a freed memory !
	I upload to ftp://ftp.openldap.org/incoming/yannick-lecaillez-000725.log the
complete log of all memory operations done by ldap_simple_bind_s() and
ldap_unbind_s() function.
	For finish, i advice the openldap dev team to use the mpatrol library,
its very powerfull and permit to me to found a lot of hard to find bugs ...
	Hope this report can help you.

							Greets, Yannick.