]> git.ipfire.org Git - thirdparty/hostap.git/commit
MLD: Ensure link BSSIDs remain on stack for ignore
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 14 Jun 2024 08:13:42 +0000 (10:13 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 11 Jul 2024 15:53:59 +0000 (18:53 +0300)
commitcf3883f3d15442cce0e3226a8580ec0f1d5b3c49
treeaf45aaad63ea9a97ad427d059d3a14e4153c858b
parent9f0429c9e1a7698f6dac4a0ead01870ef607e1b2
MLD: Ensure link BSSIDs remain on stack for ignore

When ignoring a link BSSID the multi-link information was parsed out
into a struct ml_sta_link_info on the stack. However, this stack
variable went out of scope before it was used by passing the link_bssids
pointer array to another function.

Fixes: 5af986c75af4 ("MLD: Also mark links as failed after association failure")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
wpa_supplicant/events.c