Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boot: android: handle boot images with missing DTB
607b075 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: 607b075 ("android: boot: move to andr_image_data structure") Signed-off-by: Sam Day <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
- Loading branch information