]> Git Repo - J-u-boot.git/commit - lib/addr_map.c
addrmap: Fix off by one in addrmap_set_entry()
authorDan Carpenter <[email protected]>
Tue, 25 Jul 2023 06:50:40 +0000 (09:50 +0300)
committerTom Rini <[email protected]>
Mon, 30 Oct 2023 19:32:49 +0000 (15:32 -0400)
commit7dd06b1621579262e5be46d78ba1d63c8afe8040
treea62cfdd1d2bde87f0852a7888300d8df68ea2bdb
parentc594b430225c36189a8fee2a710264d0458dc3d6
addrmap: Fix off by one in addrmap_set_entry()

The > comparison needs to be changed to >= to prevent an out of bounds
write on th next line.

Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
lib/addr_map.c
This page took 0.027793 seconds and 4 git commands to generate.