[lvc-project] [PATCH] wifi: wireless: fix two more possible UBSAN-detected off-by-one errors

Kalle Valo kvalo at kernel.org
Mon Sep 9 12:01:16 MSK 2024


Dmitry Antipov <dmantipov at yandex.ru> writes:

> 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 at yandex.ru>

The title prefix should be "wifi: cfg80211:", not sure if Johannes can
fix that or not.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the lvc-project mailing list