diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-07-07 15:40:45 +1200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-07-31 08:17:11 +0200 |
commit | adeb284a7f397ad2d730d276e56809dc5d4d1b41 (patch) | |
tree | e5939d018a017fe8e5cd37318cc5bcbdd2df7d91 /source3/param/loadparm.c | |
parent | 71eb59200a8969d4a6c4f968478fd987f257490c (diff) | |
download | samba-adeb284a7f397ad2d730d276e56809dc5d4d1b41.tar.gz samba-adeb284a7f397ad2d730d276e56809dc5d4d1b41.tar.xz samba-adeb284a7f397ad2d730d276e56809dc5d4d1b41.zip |
s3:param: Ensure that the service pointers are not used directly.
Change-Id: I750301d80981546a84f17995883fae26398d17b8
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 54210623db..dd56419bf4 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2421,7 +2421,7 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue } lp_ctx->sDefault = &sDefault; - lp_ctx->services = ServicePtrs; + lp_ctx->services = NULL; /* We do not want to access this directly */ lp_ctx->bInGlobalSection = bInGlobalSection; lp_ctx->flags = flags_list; |