1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source3
Andreas Schneider 1478619363 s3:smbd: Make sure struct security_ace is initialized
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/source3/smbd/posix_acls.c:4778: var_decl: Declaring variable ""aces"" without initializer.
samba-4.20.0rc2/source3/smbd/posix_acls.c:4799: uninit_use_in_call: Using uninitialized value ""*aces"". Field ""aces->object"" is uninitialized when calling ""make_sec_acl"".
 4797|   	idx++;
 4798|
 4799|-> 	new_dacl = make_sec_acl(ctx,
 4800|   				NT4_ACL_REVISION,
 4801|   				idx,"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
2024-06-30 23:20:33 +00:00
..
auth s3:auth: Avoid passing freed pamh pointer to funcitons using it 2024-06-28 11:39:33 +00:00
build
client smbspool: let kerberos_ccache_is_valid() use smb_force_krb5_cc_default_name() 2024-05-14 10:18:32 +00:00
exports
groupdb s3:groupdb: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
include smbd: Simplify copy_stat_ex_timestamps 2024-06-28 13:26:24 +00:00
intl
lib smbd: Simplify copy_stat_ex_timestamps 2024-06-28 13:26:24 +00:00
libads s3:libads: Do not fail if we don't get an IP passed down 2024-06-04 19:49:36 +00:00
libgpo/gpext lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
libnet s3:libnet: Convert myalias to lower case 2024-05-22 20:33:36 +00:00
librpc gse: Simplify gse_errstr() with talloc_asprintf_addbuf() 2024-06-24 16:21:32 +00:00
libsmb s3:libsmb: we no longer need libads/kerberos_proto.h in namequery.c 2024-06-06 20:25:36 +00:00
locale s3:utils: Fix code spelling 2023-08-08 04:39:38 +00:00
locking smbd: Use direct struct initialization 2024-05-22 04:23:29 +00:00
modules smbd: Fix cached dos attributes 2024-06-28 14:32:27 +00:00
nmbd s3:libsmb: Pass memory context to cli_connect_nb() 2024-04-29 08:43:32 +00:00
param docs-xml: Add smb.conf option 'dns hostname' 2024-05-22 20:33:36 +00:00
passdb passdb: Use getline(3) to read our old machine sid 2024-04-30 22:44:32 +00:00
printing s3:include: remove unused krb5_env.h 2024-05-14 10:18:31 +00:00
profile profile: Fix rusage reporting 2023-12-19 16:05:36 +00:00
registry s3:registry: Add missing return value checks 2024-06-24 06:14:36 +00:00
rpc_client s3:rpc_client: Check for array size instead of UINT16_MAX 2024-06-28 11:39:33 +00:00
rpc_server s3:rpc_server: Make sure struct security_ace is initialized 2024-06-24 06:14:35 +00:00
rpcclient s3:libsmb: Pass memory context to cli_full_connection_creds() 2024-04-29 08:43:32 +00:00
script test_recycle.sh: make sure we don't see panics on the log files 2024-06-19 09:07:36 +00:00
selftest s3/torture: Add test for widelink case insensitivity on a MSDFS share. 2024-06-11 15:53:38 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd s3:smbd: Make sure struct security_ace is initialized 2024-06-30 23:20:33 +00:00
torture torture: Remove some pointless local variables 2024-06-04 07:11:35 +00:00
utils s3:utils: Fix get_window_height() return value 2024-06-24 06:14:36 +00:00
web
winbindd s3:winbind: Fix idmap_ad creating an invalid local krb5.conf 2024-06-04 19:49:36 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript smbd: Fix crossing automounter mount points 2024-06-27 11:59:05 +00:00
wscript_build s3:libads: finally remove unused ads_connect[_user_creds]() and related code 2024-05-14 10:18:31 +00:00
wscript_configure_system_ncurses