Sam Day aa817a2f1f 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>
2025-02-06 09:09:09 +01:00
..
2024-12-30 13:21:55 -06:00
2024-10-23 06:52:38 +02:00
2024-10-18 14:10:22 -06:00
2022-01-19 18:11:34 +01:00
2024-12-30 13:21:55 -06:00
2021-11-11 19:01:56 -05:00
2024-07-05 13:57:02 -06:00
2024-10-18 14:10:22 -06:00
2024-11-14 18:14:06 -06:00
2025-01-22 09:47:49 -06:00