Files
libmetal/lib/system
Iuliana Prodan 961d0171a6 io: fix buffer overflow in metal_sys_io_mem_map()
In metal_sys_io_mem_map() if the I/O region size
is a multiple of (1<<page_shift) will result in a
buffer overflow in the for loop.

Therefore, adjust loop termination condition to
prevent accessing an out-of-bounds page.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-02-14 16:40:24 +01:00
..