Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
semihosting: fix accessing memory outside the bounds of the fn array
There is an accsess to wrong index, when arm semihosting_basedir command not used or basedir set to empty string. Signed-off-by: Erhan Kurubas <[email protected]> Change-Id: I3afa049d74b30496f5c03ba4ef67431784f81bdc Fixes: ce5027a ("semihosting: add semihosting_basedir command") Reviewed-on: https://review.openocd.org/c/openocd/+/7005 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <[email protected]> Reviewed-by: Antonio Borneo <[email protected]>
- Loading branch information