contrib/elf2dmp: Always check for PA resolution failure
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 7 Mar 2024 10:20:53 +0000 (19:20 +0900)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Mar 2024 17:06:06 +0000 (17:06 +0000)
commita6a62ef5751371a82a9fb3ce67190d38a7f465fb
tree002cd9320a16b8da607a367d90189c4a12853956
parentfbc3d7d2f1d638f2c68a2af343be882717a9eed8
contrib/elf2dmp: Always check for PA resolution failure

Not checking PA resolution failure can result in NULL deference.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-id: 20240307-elf2dmp-v4-10-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/addrspace.c