[PATCH] Fix seg fault in torture rpc.spoolss.printer
kamenim at samba.org
Mon Dec 29 16:27:31 MST 2014
On Tue, Dec 30, 2014 at 12:51 AM, Garming Sam <garming at catalyst.net.nz>
> 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.
> Imo, as a shortcut, TALLOC_FREE() should be better.
Other that that, reviewed by me
> Please review and push.
> Garming Sam
More information about the samba-technical