WSL2-Linux-Kernel/net/wireless
Johannes Berg acd3c92acc wifi: cfg80211: don't allow multi-BSSID in S1G
In S1G beacon frames there shouldn't be multi-BSSID elements
since that's not supported, remove that to avoid a potential
integer underflow and/or misparsing the frames due to the
different length of the fixed part of the frame.

While at it, initialize non_tx_data so we don't send garbage
values to the user (even if it doesn't seem to matter now.)

Reported-and-tested-by: Sönke Huster <shuster@seemoo.tu-darmstadt.de>
Fixes: 9eaffe5078 ("cfg80211: convert S1G beacon to scan results")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2022-11-25 12:43:14 +01:00
..
certs
.gitignore
Kconfig
Makefile
ap.c
chan.c
core.c
core.h
debugfs.c
debugfs.h
ethtool.c
ibss.c
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
mesh.c
mlme.c
nl80211.c wifi: nl80211: Split memcpy() of struct nl80211_wowlan_tcp_data_token flexible array 2022-10-07 15:19:06 +02:00
nl80211.h
ocb.c
of.c
pmsr.c
radiotap.c
rdev-ops.h
reg.c wifi: cfg80211: fix memory leak in query_regdb_file() 2022-10-21 12:35:57 +02:00
reg.h
scan.c wifi: cfg80211: don't allow multi-BSSID in S1G 2022-11-25 12:43:14 +01:00
sme.c
sysfs.c
sysfs.h
trace.c
trace.h
util.c wifi: cfg80211: Fix bitrates overflow issue 2022-10-21 12:36:35 +02:00
wext-compat.c
wext-compat.h
wext-core.c wifi: wext: use flex array destination for memcpy() 2022-10-07 15:00:25 +02:00
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c