Check for out-of-bound accesses in the platform io policies
The platform io policies array is now always accessed through a fconf getter.
This gives us an ideal spot to check for out-of-bound accesses.

Remove the assertion in plat_get_image_source(), which is now redundant.

Change-Id: Iefe808d530229073b68cbd164d927b8b6662a217
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
1 parent 6f8a256 commit afe62624c313b78778d4bb4962f5141ac5a0b728
@Sandrine Bailleux Sandrine Bailleux authored on 2 Apr 2020
Showing 2 changed files
View
include/plat/arm/common/arm_fconf_getter.h
View
plat/arm/common/arm_io_storage.c