summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpext
diff options
context:
space:
mode:
authorWilliam Brown <william@blackhats.net.au>2018-04-19 09:39:33 +1000
committerAlexander Bokovoy <ab@samba.org>2018-04-20 18:18:25 +0200
commita18b51000ef2ab5c9c111490394ce0e2425edee2 (patch)
tree86f72f8fbbf640eabd8ef3f6b21473fe13200ad7 /source3/libgpo/gpext
parentc67a2f85a7b9331feaef1489cbaaba11de4f9748 (diff)
downloadsamba-a18b51000ef2ab5c9c111490394ce0e2425edee2.tar.gz
s3/security.c undefined value
s3/security.c had an NTSTATUS status that was undefined and with the configure option --address-sanitizer this caused uninitialised value error. Signed-off-by: William Brown <william@blackhats.net.au> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Apr 20 18:18:25 CEST 2018 on sn-devel-144
Diffstat (limited to 'source3/libgpo/gpext')
-rw-r--r--source3/libgpo/gpext/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libgpo/gpext/security.c b/source3/libgpo/gpext/security.c
index 29e7bb7c31e..b6b7ca08e62 100644
--- a/source3/libgpo/gpext/security.c
+++ b/source3/libgpo/gpext/security.c
@@ -150,7 +150,7 @@ static NTSTATUS security_process_group_policy(TALLOC_CTX *mem_ctx,
const struct GROUP_POLICY_OBJECT *deleted_gpo_list,
const struct GROUP_POLICY_OBJECT *changed_gpo_list)
{
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_OK;
char *unix_path = NULL;
struct gp_inifile_context *ini_ctx = NULL;
const struct GROUP_POLICY_OBJECT *gpo;