svn rev #23696: trunk/src/lib/gssapi/mechglue/
tlyu@MIT.EDU
tlyu at MIT.EDU
Thu Feb 4 22:25:49 EST 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23696
Commit By: tlyu
Log Message:
ticket: 6600
tags: pullup
target_version: 1.8
Apply patch from Arlene Berry to avoid segfault if a mech
gss_inquire_context returns GSS_C_NO_NAME for the target name.
Changed Files:
U trunk/src/lib/gssapi/mechglue/g_inq_context.c
Modified: trunk/src/lib/gssapi/mechglue/g_inq_context.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_inq_context.c 2010-02-05 03:05:42 UTC (rev 23695)
+++ trunk/src/lib/gssapi/mechglue/g_inq_context.c 2010-02-05 03:25:49 UTC (rev 23696)
@@ -141,6 +141,7 @@
}
if (targ_name) {
+ if (localTargName) {
status = gssint_convert_name_to_union_name(minor_status, mech,
localTargName, targ_name);
@@ -150,6 +151,10 @@
return (status);
}
+ }
+ else {
+ *targ_name = GSS_C_NO_NAME;
+ }
}
/* spec says mech type must point to static storage */
More information about the cvs-krb5
mailing list