[PATCH] Fix a couple of memory leaks in winbindd

Qiao Yang geoyang at ironport.com
Fri Sep 5 00:54:33 GMT 2008


Hi,

There are a couple of memory leaks in winbindd which happen in some error
conditions. Attached are the two patch files:

1. request.extra_data is not freed if there is no extra_data in response or
when there is some error happens in processing. This patch will free the
buffer right after processing a request before sending back a response.

2. When connection to DC fails, it fails to destroy kerberos ticket cache in
memory.
 
These patches are based on version 3.0.31.

Regards,
Qiao Yang
IronPort, A Cisco Business Unit
950 Elm Ave. 
San Bruno, CA 94066

-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-patch-nsswitch_winbindd_c.diff
Type: application/octet-stream
Size: 655 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080904/18119445/samba-patch-nsswitch_winbindd_c.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-patch-nsswitch_winbindd_cm_c.diff
Type: application/octet-stream
Size: 295 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080904/18119445/samba-patch-nsswitch_winbindd_cm_c.obj


More information about the samba-technical mailing list