svn rev #24444: trunk/src/lib/gssapi/mechglue/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri Oct 8 10:57:58 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24444
Commit By: ghudson
Log Message:
In gss_inquire_attrs_for_mech, remove the assumption that mech_attrs
!= NULL in a particular error case.
Changed Files:
U trunk/src/lib/gssapi/mechglue/g_mechattr.c
Modified: trunk/src/lib/gssapi/mechglue/g_mechattr.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_mechattr.c 2010-10-08 14:55:06 UTC (rev 24443)
+++ trunk/src/lib/gssapi/mechglue/g_mechattr.c 2010-10-08 14:57:58 UTC (rev 24444)
@@ -205,7 +205,8 @@
known_mech_attrs);
if (GSS_ERROR(status)) {
gss_release_oid_set(&tmpMinor, mech_attrs);
- *mech_attrs = GSS_C_NO_OID_SET;
+ if (mech_attrs != NULL)
+ *mech_attrs = GSS_C_NO_OID_SET;
}
}
More information about the cvs-krb5
mailing list