wpa_supplicant AP: Make sure deauth/disassoc event is valid
authorJouni Malinen <j@w1.fi>
Sat, 4 Sep 2010 18:50:12 +0000 (21:50 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 Sep 2010 18:50:12 +0000 (21:50 +0300)
commit7f5420691e45cf1f1facd3baafa58c324819a868
tree2f77572dac2b7959a3356b0c9b39dd1f65082eef
parentcce1f698e58843d67f598b6a7161756d546e5b66
wpa_supplicant AP: Make sure deauth/disassoc event is valid

Verify that the driver wrapper is using a valid deauth/disassoc
event before dereferencing the addr pointer. The address is required
to be set in AP mode, but it is safer to verify this here than to
trust on all driver wrappers doing the correct thing.
wpa_supplicant/events.c