[lvc-project] [PATCH] wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()

Arend Van Spriel arend.vanspriel at broadcom.com
Fri Dec 13 15:30:55 MSK 2024


On December 10, 2024 8:04:45 AM Dmitry Antipov <dmantipov at yandex.ru> wrote:

> In 'wlc_phy_iqcal_gainparams_nphy()', add gain range check to WARN()
> instead of possible out-of-bounds 'tbl_iqcal_gainparams_nphy' access.
> Compile tested only.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.

Acked-by: Arend van Spriel <arend.vanspriel at broadcom.com>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
> ---
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 3 +++
> 1 file changed, 3 insertions(+)





More information about the lvc-project mailing list