aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.c
diff options
context:
space:
mode:
authorDeepthi Gowri <deepthi@codeaurora.org>2012-09-03 11:55:38 +0300
committerDmitry Shmidt <dimitrysh@google.com>2012-09-09 12:59:23 -0700
commita831d78b5fb6af549533456cda57f88d73f6d153 (patch)
tree9ba747267033d002b9b8008eb0e123b783558cbf /wpa_supplicant/p2p_supplicant.c
parent1e6c57fee4a56b421cc20f6dc0785c9138b21337 (diff)
downloadexternal_wpa_supplicant_8-a831d78b5fb6af549533456cda57f88d73f6d153.zip
external_wpa_supplicant_8-a831d78b5fb6af549533456cda57f88d73f6d153.tar.gz
external_wpa_supplicant_8-a831d78b5fb6af549533456cda57f88d73f6d153.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/p2p_supplicant.c')
0 files changed, 0 insertions, 0 deletions