1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/param
David Disseldorp b19283c0f4 param: avoid dereferencing null lp_ctx
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.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Aug 11 21:00:15 CEST 2014 on sn-devel-104
2014-08-11 21:00:15 +02:00
..
loadparm_ctx.c param: get rid of unnecessary get_default_loadparm_service pointer 2014-07-31 08:17:11 +02:00
loadparm.c param: avoid dereferencing null lp_ctx 2014-08-11 21:00:15 +02:00
pyparam.c s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers 2012-06-27 17:11:16 +02:00
service.c param: remove unimplemented find_service() check 2014-08-11 18:38:12 +02:00
test_lp_load.c s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() instead 2010-11-02 04:36:04 +00:00
util.c
wscript_build param: change s3_param.h from a generated file to a static one 2014-02-20 10:11:20 +13:00