| commit | aa68c6cdf4ac0d13162df4e2221f90c5062fb963 | [log] [tgz] |
|---|---|---|
| author | Jimmy Brisson <jimmy.brisson@arm.com> | Wed Feb 07 09:42:28 2024 -0600 |
| committer | Jimmy Brisson <jimmy.brisson@arm.com> | Mon Mar 11 13:41:38 2024 -0500 |
| tree | cd7895e6968a490adce5303dfbc388e51e755b7f | |
| parent | 5c5f7bdf581348dc8e483b2e4fc3b34b8bae56d2 [diff] |
fix(arm): check for null before calling I/O policy callback I stumbled across this when passing a non-present image id into the plat_get_image_source function, which caused it to jump into nowhere, and fault. The image id was less than the maximum size of the policy array, but was an empty entry. This check prevents the jump into nowhere. Change-Id: If5861f0e09b6b2244aee1ec52ce7c91bb7d62ec8 Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>