Re: [PATCH] hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/19/23 7:30 AM, Dan Carpenter wrote:
> The "map_sz" is the number of elements in the "m" array so the >
> comparison needs to be changed to >= to prevent an out of bounds
> read.
> 
> Fixes: 09574cca6ad6 ("hte: Add Tegra194 HTE kernel provider")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
Acked-by: Dipen Patel <dipenp@xxxxxxxxxx>




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux