projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Accept NULL data in mech_eap cb response cb
[mech_eap.git]
/
mech_eap
/
init_sec_context.c
diff --git
a/mech_eap/init_sec_context.c
b/mech_eap/init_sec_context.c
index
39929a6
..
b2afed2
100644
(file)
--- a/
mech_eap/init_sec_context.c
+++ b/
mech_eap/init_sec_context.c
@@
-313,6
+313,8
@@
peerProcessChbindResponse(void *context, int code, int nsid,
if (nsid != CHBIND_NSID_RADIUS)
return;
+ if (data == NULL)
+ return;
msg = radius_parser_start(data, len);
if (msg == NULL)
return;