diff options
| author | Jouni Malinen <jouni@qca.qualcomm.com> | 2015-07-17 16:24:11 +0300 |
|---|---|---|
| committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:19:45 -0600 |
| commit | ddeb3da30add114cb8c4f330842c4843debbda30 (patch) | |
| tree | 290b82cc515373b6b016f725ab3d186357ae444a /hostapd | |
| parent | 9730e00b525574024395f00ef4c9761dceccfaed (diff) | |
| download | android_external_wpa_supplicant_8-ddeb3da30add114cb8c4f330842c4843debbda30.tar.gz android_external_wpa_supplicant_8-ddeb3da30add114cb8c4f330842c4843debbda30.tar.bz2 android_external_wpa_supplicant_8-ddeb3da30add114cb8c4f330842c4843debbda30.zip | |
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.
Change-Id: I258e3d96f51451c202a1bce3a4957ede519fde2c
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Git-commit: 780753fab2721f17605be5dd3d130e7e9c850c8a
Git-repo: git://w1.fi/srv/git/hostap.git
CRs-Fixed: 891455
Diffstat (limited to 'hostapd')
| -rw-r--r-- | hostapd/ctrl_iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c index f83d3c04..0b6b1f73 100644 --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c @@ -2479,6 +2479,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; } } |
