diff options
author | 2022-08-19 08:22:32 +0300 | |
---|---|---|
committer | 2022-09-02 11:43:50 +0300 | |
commit | 620d5eaeb9059636864bda83ca1c68c20ede34a5 (patch) | |
tree | 0803b8017c1e38d4921694da9bcecc5090bac07e /drivers/net/wireless/microchip | |
parent | wifi: rtw89: declare to support beamformee above bandwidth 80MHz (diff) | |
download | linux-dev-620d5eaeb9059636864bda83ca1c68c20ede34a5.tar.xz linux-dev-620d5eaeb9059636864bda83ca1c68c20ede34a5.zip |
wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
There some bounds checking to ensure that "map_addr" is not out of
bounds before the start of the loop. But the checking needs to be
done as we iterate through the loop because "map_addr" gets larger as
we iterate.
Fixes: 26f1fad29ad9 ("New driver: rtl8xxxu (mac80211)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/Yv8eGLdBslLAk3Ct@kili
Diffstat (limited to 'drivers/net/wireless/microchip')
0 files changed, 0 insertions, 0 deletions