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

Jeremy Allison jra at samba.org
Mon Dec 29 16:25:07 MST 2014


On Tue, Dec 30, 2014 at 11:51:56AM +1300, Garming Sam wrote:
> 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.

LGTM - pushed !


More information about the samba-technical mailing list