projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
52b9428
)
Pull fix from branch_1_1
author
aland
<aland>
Fri, 23 Feb 2007 10:07:09 +0000
(10:07 +0000)
committer
aland
<aland>
Fri, 23 Feb 2007 10:07:09 +0000
(10:07 +0000)
src/modules/rlm_eap/libeap/eapcommon.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_eap/libeap/eapcommon.c
b/src/modules/rlm_eap/libeap/eapcommon.c
index
9d4977b
..
d918f1a
100644
(file)
--- a/
src/modules/rlm_eap/libeap/eapcommon.c
+++ b/
src/modules/rlm_eap/libeap/eapcommon.c
@@
-388,7
+388,8
@@
void map_eap_types(RADIUS_PACKET *req)
ep.id = id;
ep.type.type = eap_type;
ep.type.length = vp->length;
- ep.type.data = vp->vp_octets;
+ ep.type.data = malloc(vp->length);
+ memcpy(ep.type.data,vp->vp_octets, vp->length);
eap_basic_compose(req, &ep);
}
}