svn rev #24883: trunk/src/lib/gssapi/mechglue/

ghudson@MIT.EDU ghudson at MIT.EDU
Sat Apr 16 10:05:23 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24883
Commit By: ghudson
Log Message:
ticket: 6813

Fix a code path where mech could be used uninitialized in
gss_accept_sec_context after r24645.



Changed Files:
U   trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c
Modified: trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c	2011-04-16 13:57:47 UTC (rev 24882)
+++ trunk/src/lib/gssapi/mechglue/g_accept_sec_context.c	2011-04-16 14:05:22 UTC (rev 24883)
@@ -122,7 +122,7 @@
     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,




More information about the cvs-krb5 mailing list