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:
be9fbd9
)
FST: Clear hostapd fst_ies on FST-DETACH to avoid use of freed memory
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Fri, 17 Jul 2015 13:24:11 +0000
(16:24 +0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 17 Jul 2015 13:29:20 +0000
(16:29 +0300)
This is needed in the corner case of FST-DETACH being used without
stopping the AP instance.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/ctrl_iface.c
patch
|
blob
|
history
diff --git
a/hostapd/ctrl_iface.c
b/hostapd/ctrl_iface.c
index
6e7f4f2
..
9f745f4
100644
(file)
--- a/
hostapd/ctrl_iface.c
+++ b/
hostapd/ctrl_iface.c
@@
-2571,6
+2571,7
@@
hostapd_global_ctrl_iface_fst_detach(struct hapd_interfaces *interfaces,
if (hapd) {
if (!fst_iface_detach(ifname)) {
hapd->iface->fst = NULL;
+ hapd->iface->fst_ies = NULL;
return 0;
}
}