]> git.ipfire.org Git - thirdparty/hostap.git/commit
privsep: Fix scan result fetching with Beacon frame IEs
authorJouni Malinen <j@w1.fi>
Sat, 3 Dec 2016 16:02:49 +0000 (18:02 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 3 Dec 2016 16:02:49 +0000 (18:02 +0200)
commitd3c43e5855dceaaec9296b5ef44a8a75cce553ab
treeb4f6fbbc12cb3bf6b3b984e2a7bf1815a48dfffd
parent0771e912ae570a75b03fe9c52bc18b1db272602c
privsep: Fix scan result fetching with Beacon frame IEs

wpa_priv did not yet support Beacon frame IEs (res->beacon_ie_len) which
resulted in invalid scan data being accepted in driver_privsep.c. Add
support for res->beacon_ie_len and also fix the validation step to take
this new variable length field into account.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_privsep.c
wpa_supplicant/wpa_priv.c