projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b5bab3
)
In gss_inquire_attrs_for_mech, remove the assumption that mech_attrs
author
Greg Hudson
<ghudson@mit.edu>
Fri, 8 Oct 2010 14:57:58 +0000
(14:57 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 8 Oct 2010 14:57:58 +0000
(14:57 +0000)
!= NULL in a particular error case.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24444
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/gssapi/mechglue/g_mechattr.c
patch
|
blob
|
history
diff --git
a/src/lib/gssapi/mechglue/g_mechattr.c
b/src/lib/gssapi/mechglue/g_mechattr.c
index 63ec35768acc1aa387ac11f416eb70e4595f68bb..d23f32664d568c27dccaa176485172ddb6052e04 100644
(file)
--- a/
src/lib/gssapi/mechglue/g_mechattr.c
+++ b/
src/lib/gssapi/mechglue/g_mechattr.c
@@
-205,7
+205,8
@@
OM_uint32 gss_inquire_attrs_for_mech(
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;
}
}