commit | 2b54c0cb54a07c3eaf205c1f177fdf202a48263b | [log] [tgz] |
---|---|---|
author | Chris Kay <chris.kay@arm.com> | Wed May 09 15:46:07 2018 +0100 |
committer | Chris Kay <chris.kay@arm.com> | Fri May 11 14:55:20 2018 +0100 |
tree | 85de9d2df81ef6276e9165142e88bdfbd40df3ac | |
parent | 2469032540aafbf78d46e5f56601f2e036d1da68 [diff] |
plat/arm: Fix incorrect bounds check in ARM_CASSERT_MMAP The bounds check in ARM_CASSERT_MMAP does not take into account the array sentinel in plat_arm_mmap. This commit fixes this, and adds an additional check to ensure the number of entries in the array is within the bounds of PLAT_ARM_MMAP_ENTRIES. Change-Id: Ie6df10c0aa0890d62826bc3224ad7b3e36fd53e2 Signed-off-by: Chris Kay <chris.kay@arm.com>