diff options
author | Parshintsev Anatoly <anatoly.parshintsev@syntacore.com> | 2024-11-08 07:12:46 +0300 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2025-03-08 17:50:40 +0000 |
commit | 7837f508a5cca2c82ec46f076d115853a4eaac38 (patch) | |
tree | 809a82c06cca4f9acaea5eaee0d2bca5687739ce /src/rtos/rtos_nuttx_stackings.c | |
parent | a168c634126e9e6bb95c6e68b2db5afbb099abf7 (diff) | |
download | riscv-openocd-7837f508a5cca2c82ec46f076d115853a4eaac38.zip riscv-openocd-7837f508a5cca2c82ec46f076d115853a4eaac38.tar.gz riscv-openocd-7837f508a5cca2c82ec46f076d115853a4eaac38.tar.bz2 |
target: fix wrap-around detection for read_memory/write_memory
while at it change the order of checks for requested region sizes to
get rid of potential overflow during multiplication.
Change-Id: I97dac68e7024591cfd7abb70c8c62dff791298fe
Signed-off-by: Parshintsev Anatoly <anatoly.parshintsev@syntacore.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8572
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/rtos/rtos_nuttx_stackings.c')
0 files changed, 0 insertions, 0 deletions