]> git.ipfire.org Git - thirdparty/hostap.git/commit
MLD: Ensure link_bssid array has space for sentinel
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 14 Jun 2024 08:13:43 +0000 (10:13 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 11 Jul 2024 15:53:59 +0000 (18:53 +0300)
commit7bcede06e0b3c08e18b7562bbd941fd43eb82e12
treedc85b2f33ad7449543fec21c8c052665a38e8e06
parentcf3883f3d15442cce0e3226a8580ec0f1d5b3c49
MLD: Ensure link_bssid array has space for sentinel

The consumer of the link_bssid array assumes it is a NULL terminated
array of BSSIDs. As such, add one to the maximum number of links to
ensure that there is always a sentinel value.

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