Searched hist:"8 c353e0058e95cfa20c9a760ebd0908a9a9aa1c1" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/bl32/tsp/ |
| H A D | tsp_ffa_main.c | 8c353e0058e95cfa20c9a760ebd0908a9a9aa1c1 Mon Jan 23 10:26:37 UTC 2023 Thomas Viehweger <Thomas.Viehweger@rohde-schwarz.com> fix(tsp): loop / crash if mmap of region fails
In test_memory_send the variable i is of unsigned type, so it is never negative. If i is 0, the result of i-- is 4294967295. Don't know what happens if trying to access composite->address_range_array[4294967295]. Made i a signed integer.
Signed-off-by: Thomas Viehweger <Thomas.Viehweger@rohde-schwarz.com> Change-Id: I8b4e532749b5e86e4b5acd238e72c3f88e309ff2
|