aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorRichard Kinder <[email protected]>2024-03-28 11:57:25 +1100
committerJohannes Berg <[email protected]>2024-04-08 20:12:01 +0200
commitd12b9779cc9ba29d65fbfc728eb8a037871dd331 (patch)
tree23976d13afca4de0d97b31c80fb085ed01d06ce0 /tools/testing/selftests/bpf/progs/test_autoload.c
parentab9177d83c040eba58387914077ebca56f14fae6 (diff)
wifi: mac80211: ensure beacon is non-S1G prior to extracting the beacon timestamp field
Logic inside ieee80211_rx_mgmt_beacon accesses the mgmt->u.beacon.timestamp field without first checking whether the beacon received is non-S1G format. Fix the problem by checking the beacon is non-S1G format to avoid access of the mgmt->u.beacon.timestamp field. Signed-off-by: Richard Kinder <[email protected]> Link: https://msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions