1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34: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 s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
gpo_fetch.c libgpo: Remove unused code 2020-05-26 11:22:07 +00:00
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 libgpo: parse_gp_ext: do not crash upon no ext_strings 2020-01-13 22:25:38 +00:00
gpo_proto.h
gpo_reg.c libgpo: Initialize struct security_ace array 2024-07-16 11:41:33 +00:00
gpo_sec.c libgpo: Use dom_sid_str_buf 2018-11-09 22:42:29 +01:00
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 libgpo: Remove unused code 2020-05-26 11:22:07 +00:00
pygpo.c libgpo/pygpo: make use of ads_connect_{creds,machine}() 2024-05-14 10:18:31 +00:00
wscript_build libgpo: only install group policy admx files when building as DC 2020-06-30 07:51:48 +00:00