Merge "fix(bl1): prevent null pointer dereference" into integration

This commit is contained in:
Lauren Wehrmeister 2025-04-02 22:29:24 +02:00 committed by TrustedFirmware Code Review
commit e83738c074

View file

@ -170,6 +170,9 @@ static int bl1_fwu_image_check_overlaps(unsigned int image_id)
uintptr_t checked_image_base, checked_image_end;
checked_desc = bl1_plat_get_image_desc(image_id);
assert(checked_desc != NULL);
checked_info = &checked_desc->image_info;
/* Image being checked mustn't be empty. */