From c41992eec7df41c0232de45ef19267a21b66dcaa Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 16 Apr 2011 14:05:22 +0000 Subject: [PATCH] Fix a code path where mech could be used uninitialized in gss_accept_sec_context after r24645. ticket: 6813 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24883 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/mechglue/g_accept_sec_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gssapi/mechglue/g_accept_sec_context.c b/src/lib/gssapi/mechglue/g_accept_sec_context.c index 8e0b7c5a0..9af8752d6 100644 --- a/src/lib/gssapi/mechglue/g_accept_sec_context.c +++ b/src/lib/gssapi/mechglue/g_accept_sec_context.c @@ -122,7 +122,7 @@ gss_cred_id_t * d_cred; gss_OID_desc token_mech_type_desc; gss_OID token_mech_type = &token_mech_type_desc; gss_OID actual_mech = GSS_C_NO_OID; - gss_mechanism mech; + gss_mechanism mech = NULL; status = val_acc_sec_ctx_args(minor_status, context_handle, -- 2.26.2