diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2024-09-09 12:08:06 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-09-09 11:43:21 +0200 |
commit | 15ea13b1b1fbf6364d4cd568e65e4c8479632999 (patch) | |
tree | 73a1e7edba1f4611341238c18c3322309d7f03f4 /net/mac80211/iface.c | |
parent | 4e1b5586051f0e9aef9b0ca375ef2cd1a8987e0c (diff) |
wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors
Although not reproduced in practice, these two cases may be
considered by UBSAN as off-by-one errors. So fix them in the
same way as in commit a26a5107bc52 ("wifi: cfg80211: fix UBSAN
noise in cfg80211_wext_siwscan()").
Fixes: 807f8a8c3004 ("cfg80211/nl80211: add support for scheduled scans")
Fixes: 5ba63533bbf6 ("cfg80211: fix alignment problem in scan request")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20240909090806.1091956-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions