1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/auth/gensec
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
..
external.c define DBGC_AUTH class 2018-01-08 03:34:17 +01:00
gensec_internal.h auth/gensec: add gensec_get_unparsed_target_principal() helper 2024-05-07 11:30:33 +00:00
gensec_start.c gensec: Simplify gensec_security_by_fn() 2024-06-04 07:11:35 +00:00
gensec_util.c auth/gensec: add gensec_get_unparsed_target_principal() helper 2024-05-07 11:30:33 +00:00
gensec.c auth/gensec: add gensec_set_channel_bindings() function 2024-04-23 23:50:34 +00:00
gensec.h lib: gensec.h references NTTIME, add time.h 2024-06-04 07:11:35 +00:00
ncalrpc.c auth: Fix a typo in auth/gensec/ncalrpc.c 2021-12-10 14:02:30 +00:00
schannel.c auth:gensec: Zero digest array in error case 2023-12-08 02:28:33 +00:00
spnego.c auth:gensec: Fully initialize struct spnego_data 2024-07-18 12:47:30 +00:00
wscript_build lib/crypto: move gnutls error wrapper to own subsystem 2019-06-27 12:54:22 +00:00