[PATCH 2/2] param: avoid dereferencing null lp_ctx

Jeremy Allison jra at samba.org
Mon Aug 11 11:29:14 MDT 2014

On Mon, Aug 11, 2014 at 05:57:18PM +0200, David Disseldorp wrote:
> process_smbconf_service() calls lp_do_section() with a NULL userdata
> (struct loadparm_context *) argument. Since 0864d4945, lp_do_section()
> unconditionally attempts to set the lp_ctx->bInGlobalSection variable,
> resulting in a segfault.

Obvious goodness :-). Pushed !

More information about the samba-technical mailing list