]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix a regression from VLAN assignment using WPA/WPA2 passphrase/PSK
authorJouni Malinen <j@w1.fi>
Sat, 23 Feb 2019 16:54:54 +0000 (18:54 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 25 Feb 2019 17:48:49 +0000 (19:48 +0200)
commitbb05d03606add80708480b621a73fa9cc3ebbe6d
treec63a92199aba84d3940b124c5410983cbc82349c
parent429ed54a3daee0e8758109b8ed86ca9ca735789c
Fix a regression from VLAN assignment using WPA/WPA2 passphrase/PSK

This extension of VLAN assignment code had a bug in one of the code
paths where vlan_id could have been left uninitialized. This could
result in SAE authentication getting rejected in cases where VLAN
assignment is not used if the uninitialized stack memory had nonzero
value.

Fixes: dbfa691df4dc ("VLAN assignment based on used WPA/WPA2 passphrase/PSK")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth.c