git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71eb592
)
s3:param: Ensure that the service pointers are not used directly.
author
Garming Sam
<garming@catalyst.net.nz>
Mon, 7 Jul 2014 03:40:45 +0000
(15:40 +1200)
committer
Michael Adam
<obnox@samba.org>
Thu, 31 Jul 2014 06:17:11 +0000
(08:17 +0200)
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>
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 54210623db0c4efefcc07e5b3f9e397e30cf0fee..dd56419bf45ac9787818bf5efcb04e98aab2e322 100644
(file)
--- 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;