1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/libgpo
Andreas Schneider 79d2dbc057 libgpo: Initialize struct security_ace array
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/libgpo/gpo_reg.c:708: var_decl: Declaring variable ""ace"" without initializer.
samba-4.20.0rc2/libgpo/gpo_reg.c:755: uninit_use_in_call: Using uninitialized value ""*ace"". Field ""ace->object"" is uninitialized when calling ""make_sec_acl"".
  753|   		     mask, inherit_flags);
  754|
  755|-> 	theacl = make_sec_acl(mem_ctx, NT4_ACL_REVISION, 6, ace);
  756|   	W_ERROR_HAVE_NO_MEMORY(theacl);
  757|"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2024-07-16 11:41:33 +00:00
..
admx libgpo: fix wrong lineending in admx files 2023-11-27 01:12:40 +00:00
gpext
gpo_fetch.c
gpo_filesync.c libgpo: Fix code spelling 2023-09-11 02:42:41 +00:00
gpo_ini.c lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
gpo_ini.h
gpo_ldap.c
gpo_proto.h
gpo_reg.c libgpo: Initialize struct security_ace array 2024-07-16 11:41:33 +00:00
gpo_sec.c
gpo_util.c s3-lib: Modify merge_nt_token() into a GPO-specifc merge with SYSTEM 2023-09-26 23:45:36 +00:00
gpo.h
pygpo.c libgpo/pygpo: make use of ads_connect_{creds,machine}() 2024-05-14 10:18:31 +00:00
wscript_build