linux/drivers/hte
Dan Carpenter e078180d66 hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()
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: 09574cca6a ("hte: Add Tegra194 HTE kernel provider")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
2023-04-26 15:44:14 -07:00
..
hte-tegra194-test.c hte: tegra: fix 'struct of_device_id' build error 2023-04-26 15:44:06 -07:00
hte-tegra194.c hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id() 2023-04-26 15:44:14 -07:00
hte.c hte: Use of_property_present() for testing DT property presence 2023-04-26 15:43:57 -07:00
Kconfig hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00
Makefile hte: Add Tegra HTE test driver 2022-05-04 11:06:14 +02:00