aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.c
diff options
context:
space:
mode:
authorDeepthi Gowri <deepthi@codeaurora.org>2012-09-03 08:55:38 (GMT)
committerJouni Malinen <j@w1.fi>2012-09-03 08:55:38 (GMT)
commit59ff6653aad1c228cb2e9ccfe02b9dd4e6fc7901 (patch)
tree0322084980b78032df1863941905138e4aa4b901 /wpa_supplicant/bss.c
parent7ff833674b5b6447361098dcd7b56e8c08c84a0b (diff)
downloadhostap-59ff6653aad1c228cb2e9ccfe02b9dd4e6fc7901.zip
hostap-59ff6653aad1c228cb2e9ccfe02b9dd4e6fc7901.tar.gz
hostap-59ff6653aad1c228cb2e9ccfe02b9dd4e6fc7901.tar.bz2
Fix REMOVE_NETWORK to not run operations with invalid current_ssid
If the REMOVE_NETWORK command is used to delete the currently connected network, some operations were run between removing the network and clearing of wpa_s->current_ssid. This left wpa_s->current_ssid pointing to freed memory and should any operation end up using it before the pointer gets cleared, freed memory could be references. Avoid this by removing the network only after having completed the operations that clear wpa_s->current_ssid. Signed-hostap: Deepthi Gowri <deepthi@codeaurora.org> intended-for: hostap-1
Diffstat (limited to 'wpa_supplicant/bss.c')
0 files changed, 0 insertions, 0 deletions