diff options
author | William Brown <william@blackhats.net.au> | 2018-04-19 09:39:33 +1000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2018-04-20 18:18:25 +0200 |
commit | a18b51000ef2ab5c9c111490394ce0e2425edee2 (patch) | |
tree | 86f72f8fbbf640eabd8ef3f6b21473fe13200ad7 /source3/libgpo/gpext | |
parent | c67a2f85a7b9331feaef1489cbaaba11de4f9748 (diff) | |
download | samba-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.c | 2 |
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; |