Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> > Acked-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxx> Patch applied to wireless-next.git, thanks. 620d5eaeb905 wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse() -- https://patchwork.kernel.org/project/linux-wireless/patch/Yv8eGLdBslLAk3Ct@kili/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches