[samba4] Memory leak in LDAP

tridge at samba.org tridge at samba.org
Tue Sep 13 21:58:02 GMT 2005


Karl,

 > I have tracked a LDAP related memory leak to the data blob of the request 
 > structure. Upon sending a LDAP request via ldap_request_send, the data blob 
 > is never freed. When the blob is allocated it is passed a NULL memory 
 > context, so it is not tied to any other memory that would be freed. 

well spotted, thanks!

I think the bug is that ldap_encode() doesn't take a memory
context. I'll fix that.

Cheers, Tridge


More information about the samba-technical mailing list