]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Avoid crashing on station mode disassoc event
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 22 Oct 2010 14:43:23 +0000 (17:43 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 22 Oct 2010 14:43:23 +0000 (17:43 +0300)
commit83e843e830112a810ef6a1f6c08dbe8200e47f0f
treea22d39ac40ba4732d9f045e736a7d7917e6af526
parentf19858f5a8dd3e8d9c3814a6e741e2b9cadea0f5
hostapd: Avoid crashing on station mode disassoc event

Some driver wrappers may end up indicating a disassociation or
deauthentication event without the address of the station, e.g.,
based on a previous non-AP mode event. Avoid crashing hostapd
by verifying that the require address parameter is available in
the event before processing it.
src/ap/drv_callbacks.c