]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/ap.c
Clear EAPOL supplicant configuration info on current_ssid changes
authorJouni Malinen <j@w1.fi>
Sun, 25 Aug 2013 16:46:57 +0000 (19:46 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 25 Aug 2013 16:46:57 +0000 (19:46 +0300)
commit25a8f9e316013ee65aafe1d2c8ea276f5e77da42
treecdfaeb1291c91d604c9c50962f8dd41341d61270
parent0185007c2e2e79dc4c156d5e4ff354b9dadf1374
Clear EAPOL supplicant configuration info on current_ssid changes

There were some code paths that allowed obsolete configuration data
pointer to be maintained within EAPOL supplicant in case a network was
removed while not connection to it (i.e., wpa_s->current_ssid not
pointing to the network that was removed). This could result in use of
freed memory, e.g., from eap_sm_notify_ctrl_attached() when a new
control interface connected prior to the EAPOL supplicant configuration
pointer got updated.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ap.c
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c