]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix a regression in storing of external_auth SSID/BSSID
authorJouni Malinen <j@w1.fi>
Sun, 28 Apr 2019 13:24:32 +0000 (16:24 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 28 Apr 2019 13:24:32 +0000 (16:24 +0300)
commitd42df8d6ce81d47aea8059c45e3db5c51897f7e8
tree3773c2341b549699a9d891413ca2c68febcb1fca
parent9ff2b85e733d39b6f90308b0d408038b3170e66b
Fix a regression in storing of external_auth SSID/BSSID

An earlier change in drivers_ops API for struct external_auth broke the
way SSID and BSSID for an external authentication request were stored.
The implementation depended on the memory array being available in the
API struct with a use of memcpy() to copy the full structure even though
when only SSID and BSSID was needed. Fix this by replacing that
easy-to-break storing mechanism with explicit arrays for the exact set
of needed information.

Fixes: dd1a8cef4c05 ("Remove unnecessary copying of SSID and BSSID for external_auth")
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant_i.h