summaryrefslogtreecommitdiff
path: root/lib/stdlib/assert.c
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2018-05-09 15:46:07 +0100
committerChris Kay <chris.kay@arm.com>2018-05-11 14:55:20 +0100
commit053b4f92cbfa627418441daf5f9b1b89739c2fd1 (patch)
tree85de9d2df81ef6276e9165142e88bdfbd40df3ac /lib/stdlib/assert.c
parent3450fd622412927ec4c4834b24b9c669f905b40a (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>
Diffstat (limited to 'lib/stdlib/assert.c')
0 files changed, 0 insertions, 0 deletions