projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't free parts of the principal in channel bindings (LP: #1237981 ...
[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
b2afed2
..
60d15ba
100644
(file)
--- a/
mech_eap/init_sec_context.c
+++ b/
mech_eap/init_sec_context.c
@@
-292,7
+292,7
@@
peerInitEapChannelBinding(OM_uint32 *minor, gss_ctx_id_t ctx)
*minor = 0;
cleanup:
- krbFreeUnparsedName(krbContext, &nameBuf);
+ /*namebuf is freed when used and may be left with a unowned pointer*/
wpabuf_free(buf);
return major;