]> git.ipfire.org Git - thirdparty/hostap.git/commit
BSS: MLD: Limit TBTT parsing to correct length
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 1 Sep 2024 16:31:33 +0000 (19:31 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 21 Dec 2024 08:53:37 +0000 (10:53 +0200)
commit26273daef2781882fb6b469f1009ccf363d4f055
tree966e50efdb4e197fdaf3298ceecef8461152709b
parent8e490da87fa054c88a788f729f34dcc97be44cf4
BSS: MLD: Limit TBTT parsing to correct length

Logically, it makes more sense to pass the ap_info_len as that is the
length that the function is permitted to process. Effectively it does
not make a difference and the code was entirely safe, but change it
nontheless to be more correct.

Fixes: de5e01010cb2 ("wpa_supplicant: Support ML probe request")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
wpa_supplicant/bss.c