]> git.ipfire.org Git - thirdparty/hostap.git/commit
OWE: Fix association rejection behavior
authorJouni Malinen <j@w1.fi>
Sun, 2 Dec 2018 18:21:21 +0000 (20:21 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 2 Dec 2018 18:21:21 +0000 (20:21 +0200)
commit8fc6d884654ccd2fffa77e4cabb1f9d2ab37c13e
tree287dc1e2dc88d71d6f4c69d0da2ca2ccaa8ff45e
parentbd51246924795b01b7e8d835df0b2137e989d8a2
OWE: Fix association rejection behavior

If association failed for any non-OWE specific reason, the previous
implementation tried to add the OWE related IEs into the (Re)Association
Response frame. This is not needed and could actually result in
dereferencing a NULL pointer. Fix this by adding those OWE related IEs
only for successful association and only if the RSN state machine has
been initialized.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c
src/ap/wpa_auth_ie.c