projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4dc14
)
assert name non-NULL before dereferencing
author
Luke Howard
<lukeh@padl.com>
Mon, 2 Dec 2013 06:09:43 +0000
(17:09 +1100)
committer
Kevin Wasserman
<kevin.wasserman@painless-security.com>
Thu, 19 Dec 2013 17:17:56 +0000
(12:17 -0500)
mech_eap/util_name.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_name.c
b/mech_eap/util_name.c
index
2ad3088
..
455e764
100644
(file)
--- a/
mech_eap/util_name.c
+++ b/
mech_eap/util_name.c
@@
-517,6
+517,7
@@
gssEapImportName(OM_uint32 *minor,
if (major == GSS_S_COMPLETE &&
mechType != GSS_C_NO_OID) {
GSSEAP_ASSERT(gssEapIsConcreteMechanismOid(mechType));
+ GSSEAP_ASSERT(name != GSS_C_NO_NAME);
GSSEAP_ASSERT(name->mechanismUsed == GSS_C_NO_OID);
major = gssEapCanonicalizeOid(minor, mechType, 0, &name->mechanismUsed);