projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
52b9428
40b66f2
)
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)
1
2
src/modules/rlm_eap/libeap/eapcommon.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/modules/rlm_eap/libeap/eapcommon.c
index
9d4977b
,
03223ef
..
d918f1a
---
1
/
src/modules/rlm_eap/libeap/eapcommon.c
---
2
/
src/modules/rlm_eap/libeap/eapcommon.c
+++ b/
src/modules/rlm_eap/libeap/eapcommon.c
@@@
-388,7
-385,8
+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->strvalue, vp->length);
++ memcpy(ep.type.data,vp->vp_octets, vp->length);
eap_basic_compose(req, &ep);
}
}