From adeb284a7f397ad2d730d276e56809dc5d4d1b41 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Mon, 7 Jul 2014 15:40:45 +1200 Subject: s3:param: Ensure that the service pointers are not used directly. Change-Id: I750301d80981546a84f17995883fae26398d17b8 Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Michael Adam --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/param/loadparm.c') 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; -- cgit