]> git.ipfire.org Git - thirdparty/hostap.git/commit
OWE: Consider the currently associated transition mode SSID known
authorBen Lai <ben.lai@mediatek.com>
Fri, 27 Dec 2024 06:13:38 +0000 (14:13 +0800)
committerJouni Malinen <j@w1.fi>
Tue, 21 Jan 2025 17:44:21 +0000 (19:44 +0200)
commitee41bacfa2d1af85be086b5548c8ae93ca2d0000
treee7ca63ea180f5d6c32abccb3bc4195419097fd27
parent704f065268f80ef2e7c8cbe8c562dbafc18a37ca
OWE: Consider the currently associated transition mode SSID known

When the BSS table size limit is reached the oldest unknown BSS entry is
removed when needing to add a new BSS. This could have resulted in use
of freed memory before wpa_bss_remove_oldest_unknown() was extended to
use wpa_bss_in_use() as a condition for removing a BSS entry. Even with
that issue addressed, it is better to recognize BSS entries that match
the current network profiles SSID in cases where that match is through
the OWE transition mode mechanism. This avoids removing entries that
might be used finding a better BSS.

Signed-off-by: Sunil Ravi <sunilravi@google.com>
wpa_supplicant/bss.c