summaryrefslogtreecommitdiff
path: root/lib/logic_iomem.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-04-19 17:30:00 +0300
committerDipen Patel <dipenp@nvidia.com>2023-04-27 01:44:14 +0300
commite078180d66848a6a890daf0a3ce28dc43cc66790 (patch)
tree6b851828f5452c5376bad3300ef44e0d22f8930c /lib/logic_iomem.c
parent6680c835ada1b34e882d0a32612f7294c62e27e0 (diff)
downloadlinux-e078180d66848a6a890daf0a3ce28dc43cc66790.tar.xz
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: 09574cca6ad6 ("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>
Diffstat (limited to 'lib/logic_iomem.c')
0 files changed, 0 insertions, 0 deletions