Home
last modified time | relevance | path

Searched hist:"053 b4f92cbfa627418441daf5f9b1b89739c2fd1" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/plat/arm/common/
H A Dplat_arm.h053b4f92cbfa627418441daf5f9b1b89739c2fd1 Wed May 09 14:46:07 UTC 2018 Chris Kay <chris.kay@arm.com> 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>