1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/auth
Andreas Schneider 8d637d667d auth:gensec: Fully initialize struct spnego_data
"Error: UNINIT (CWE-457):
samba-4.20.0rc2/auth/gensec/spnego.c:1129: var_decl: Declaring variable ""spnego_out"" without initializer.
samba-4.20.0rc2/auth/gensec/spnego.c:1154: uninit_use_in_call: Using uninitialized value ""spnego_out.negTokenTarg.negResult"" when calling ""spnego_write_data"".
 1152|   	}
 1153|
 1154|-> 	if (spnego_write_data(out_mem_ctx, out, &spnego_out) == -1) {
 1155|   		DEBUG(1, (""Failed to write SPNEGO reply to NEG_TOKEN_TARG\n""));
 1156|   		return NT_STATUS_INVALID_PARAMETER;"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2024-07-18 12:47:30 +00:00
..
credentials credentials: Protect the cred's nt hash with talloc_keep_secret 2024-06-24 16:21:32 +00:00
gensec auth:gensec: Fully initialize struct spnego_data 2024-07-18 12:47:30 +00:00
kerberos Do not fail checksums for RFC8009 types 2024-04-08 03:00:39 +00:00
ntlmssp credentials: Protect the cred's nt hash with talloc_keep_secret 2024-06-24 16:21:32 +00:00
auth_log.c auth: Add functionality to log client and server policy information 2023-06-25 23:29:32 +00:00
auth_sam_reply.c auth: Fix code spelling 2023-09-11 02:42:41 +00:00
auth_sam_reply.h s4:kdc: Add resource SID compression 2023-02-08 00:03:39 +00:00
auth_util.c CVE-2022-2031 auth: Add ticket type field to auth_user_info_dc and auth_session_info 2022-07-27 10:52:36 +00:00
auth_util.h auth: Add necessary decoration to auth/auth_util.h 2019-04-03 16:55:27 +00:00
authn_policy_impl.h s4:kdc: Add helper functions to create optional int64 values 2023-06-15 05:29:28 +00:00
authn_policy.c s4:kdc: Move NTLM device restrictions to ‘authn_policy_util’ 2023-06-15 05:29:28 +00:00
authn_policy.h s4:kdc: Move NTLM device restrictions to ‘authn_policy_util’ 2023-06-15 05:29:28 +00:00
common_auth.h s4:kdc: Add a flag indicating that the device should be added to Authenticated Users 2023-10-24 00:54:31 +00:00
wbc_auth_util.c auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
wscript_build auth: Move authn_policy code into auth subsystem 2023-06-15 05:29:28 +00:00