]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Fix EVENT_ASSOC processing checks for driver-SME
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 19 Jun 2017 18:34:10 +0000 (21:34 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 19 Jun 2017 20:36:13 +0000 (23:36 +0300)
commitda143f7fb91e61db7a3946cbaa527fae57a35ac1
treefd0636dc2f7351a2d6a9c0c6d6dd10829b083e04
parent3c0daa13d5a4c43e4015e0fcd331f005dcdafe0b
FILS: Fix EVENT_ASSOC processing checks for driver-SME

Commit 5538fc930988bfc12935579b2b9930d18ffd1be8 ('FILS: Track completion
with FILS shared key authentication offload') added an additional case
for calling wpa_supplicant_event_assoc_auth() from EVENT_ASSOC handling
in case of FILS-completion with driver-based-SME. However, that checked
what placed outside the data != NULL case while data != NULL needs to
apply for this case as well due to wpa_supplicant_event_assoc_auth()
behavior. Move the data != NULL check to apply to both cases to avoid
potentially issues if a driver interface were to return EVENT_ASSOC
without the associate data. (CID 164708)

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c