summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSam Day <me@samcday.com>2025-01-23 14:35:01 +0000
committerMattijs Korpershoek <mkorpershoek@baylibre.com>2025-02-06 09:09:09 +0100
commitaa817a2f1fb66067fc3c6dc7d9d1a84bbaa99df9 (patch)
tree73b4781483da99cf47dd3246f74036325eeadc86 /lib/string.c
parentdcf1c627cf436191919c5a3b153d1033245b54b7 (diff)
boot: android: handle boot images with missing DTB
607b07554e2 removed the check on the return status of the android_image_get_dtb_img_addr call from android_image_get_dtb_by_index, which results in null pointer accesses shortly after when trying to check the header of a nonexistent DTB. Fixes: 607b07554e2 ("android: boot: move to andr_image_data structure") Signed-off-by: Sam Day <me@samcday.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20250123-android-handle-no-dtb-v1-1-1cb7373247da@samcday.com Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions