diff options
| author | Johannes Berg <[email protected]> | 2022-11-25 11:36:58 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2022-11-25 11:43:14 +0000 |
| commit | acd3c92acc7aaec50a94d0a7faf7ccd74e952493 (patch) | |
| tree | cd02f73bf5c370090c7361b441da1101f3e4c0eb /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | wifi: cfg80211: fix buffer overflow in elem comparison (diff) | |
| download | kernel-acd3c92acc7aaec50a94d0a7faf7ccd74e952493.tar.gz kernel-acd3c92acc7aaec50a94d0a7faf7ccd74e952493.zip | |
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 <[email protected]>
Fixes: 9eaffe5078ca ("cfg80211: convert S1G beacon to scan results")
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
