1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source3/rpc_server
Andreas Schneider 26c56ae51e s3:rpc_server: Initialize array
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/source3/rpc_server/svcctl/srv_svcctl_nt.c:163: var_decl: Declaring variable ""ace"" without initializer.
samba-4.20.0rc2/source3/rpc_server/svcctl/srv_svcctl_nt.c:182: uninit_use_in_call: Using uninitialized value ""*ace"". Field ""ace->object"" is uninitialized when calling ""make_sec_acl"".
  180|   	/* create the security descriptor */
  181|
  182|-> 	if ( !(theacl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) )
  183|   		return NULL;
  184|"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jul  8 08:37:46 UTC 2024 on atb-devel-224
2024-07-08 08:37:46 +00:00
..
dfs s3:rpc_server: Fix double blackslash issue in dfs path 2023-07-05 20:24:35 +00:00
dssetup CVE-2020-25717: Add FreeIPA domain controller role 2021-11-09 19:45:33 +00:00
echo s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
epmapper librpc/rpc: also get the 2nd half of the ndr_syntax_id from a floor 2023-10-17 19:20:38 +00:00
eventlog s3:rpc_server: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
fss rpc_server3: Remove pipes_struct->session_info 2022-01-05 00:11:38 +00:00
initshutdown s3:rpc_server: Do not include s3 autogenerated headers 2020-03-20 15:36:36 +00:00
lsa s3:rpc_server: Initialize array struct security_ace ace[] 2024-07-05 08:53:07 +00:00
mdssvc s3:rpc_server: Update deprecated directives 2024-07-02 03:39:35 +00:00
netlogon s3:rpc_server: Check query level according to MS-NRPC 2024-06-04 09:39:42 +00:00
ntsvcs rpc_server3: Remove pipes_struct->session_info 2022-01-05 00:11:38 +00:00
samr s3:rpc_server: Make sure struct security_ace is initialized 2024-06-24 06:14:35 +00:00
spoolss s3:libsmb: Pass memory context to cli_full_connection_creds() 2024-04-29 08:43:32 +00:00
srvsvc smbd: Use struct oplock_break_message for MSG_CLOSE_FILE 2024-04-30 22:44:32 +00:00
svcctl s3:rpc_server: Initialize array 2024-07-08 08:37:46 +00:00
winreg s3-winreg: fix _winreg_EnumValue behavior 2023-11-20 03:52:33 +00:00
witness s3:rpc_server: Fix code spelling 2024-07-02 03:39:35 +00:00
wkssvc s3:include: remove unused krb5_env.h 2024-05-14 10:18:31 +00:00
rpc_config.c dcesrv_core: wrap gensec_*() calls in [un]become_root() calls 2022-01-24 15:25:36 +00:00
rpc_config.h s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
rpc_handles.c s3:rpc_server: let create_policy_hnd() return a pointer 2023-10-17 19:20:38 +00:00
rpc_host.c rpc_server3: Use fdopen_keepfd() 2024-04-16 23:51:45 +00:00
rpc_ncacn_np.c rpc_server3: Inline single-use rpcint_binding_handle_ex() 2022-01-05 00:11:38 +00:00
rpc_ncacn_np.h s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
rpc_pipes.h s3:rpc_server: let create_policy_hnd() return a pointer 2023-10-17 19:20:38 +00:00
rpc_server.c s3:rpc_server: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
rpc_server.h rpc_server3: Inline pipes_struct into dcerpc_ncacn_conn 2022-01-05 00:11:38 +00:00
rpc_sock_helper.c s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
rpc_sock_helper.h rpc_server: Consolidate transport-specific socket creation 2021-01-26 00:10:31 +00:00
rpc_worker.c rpc_server3: Use fdopen_keepfd() 2024-04-16 23:51:45 +00:00
rpc_worker.h s3:rpc_server: let get_servers() callback of rpc_worker_main() return NTSTATUS 2023-10-17 19:20:38 +00:00
rpcd_classic.c rpcd_classic: Open share_info.tdb as root 2023-12-20 10:15:29 +00:00
rpcd_epmapper.c s3:rpc_server: make use of dcesrv_register_default_auth_types[_machine_principal]() 2023-10-17 19:20:38 +00:00
rpcd_fsrvp.c s3:rpc_server: let get_servers() callback of rpc_worker_main() return NTSTATUS 2023-10-17 19:20:38 +00:00
rpcd_lsad.c s3:rpc_server: make use of dcesrv_register_default_auth_types[_machine_principal]() 2023-10-17 19:20:38 +00:00
rpcd_mdssvc.c s3:rpc_server: let get_servers() callback of rpc_worker_main() return NTSTATUS 2023-10-17 19:20:38 +00:00
rpcd_rpcecho.c s3:rpc_server: let get_servers() callback of rpc_worker_main() return NTSTATUS 2023-10-17 19:20:38 +00:00
rpcd_spoolss.c s3:rpc_server: let get_servers() callback of rpc_worker_main() return NTSTATUS 2023-10-17 19:20:38 +00:00
rpcd_winreg.c s3:rpc_server: let get_servers() callback of rpc_worker_main() return NTSTATUS 2023-10-17 19:20:38 +00:00
rpcd_witness.c s3:rpc_server: add basic rpcd_witness template 2024-01-26 17:00:32 +00:00
srv_access_check.c rpc_server3: Avoid a pointless DEBUGADD 2023-10-10 23:23:40 +00:00
srv_access_check.h
srv_pipe_hnd.c smbd: Adapt np_[read|write]_send() to more recent tevent_req conventions 2022-08-26 18:54:37 +00:00
srv_pipe_hnd.h s3:rpc_server: Retrieve dcesrv_context from parent context to open NP 2020-03-20 15:36:35 +00:00
wscript_build s3:rpc_server: add basic rpcd_witness template 2024-01-26 17:00:32 +00:00