Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm_adi_v5: check for calloc() return value
In function adiv5_jim_configure() check that calloc() returns a valid allocated memory pointer. Change-Id: I97287e168834693900341add9d9eb9a5f38c55b4 Signed-off-by: Antonio Borneo <[email protected]> Reported-by: Tomas Vanek <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/7014 Tested-by: jenkins Reviewed-by: Tomas Vanek <[email protected]>
- Loading branch information