[PATCH] Fix seg fault in torture rpc.spoolss.printer

Garming Sam garming at catalyst.net.nz
Mon Dec 29 15:51:56 MST 2014


Hi,

I recently noticed a seg fault while running make test. It was using 
memory after being freed when logging error/warning messages.

Attached is a patch which appears to fix the issue by simply nulling out 
the pointer after being freed.


Please review and push.

Cheers,

Garming Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-torture-NULL-out-after-talloc_free.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141230/e1275f84/attachment.bin>


More information about the samba-technical mailing list