FST: Clear hostapd fst_ies on FST-DETACH to avoid use of freed memory
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>
This commit is contained in:
parent
be9fbd9b67
commit
780753fab2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue