summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2023-03-31 15:15:15 +0200
committerAnup Patel <[email protected]>2023-04-07 11:22:25 +0530
commit2868f26131308ff345382084681ea89c5b0159f1 (patch)
treee937ec2141af932210e54973ef0fa384a5d2a8f3 /include
parentee016a7bb098578a5d0d4bde01259fe3cd57b02f (diff)
lib: utils: fdt_fixup: avoid buffer overrun
fdt_reserved_memory_fixup() uses filtered_order[PMP_COUNT]. The index must not reach PMP_COUNT. Fixes: 199189bd1c17 ("lib: utils: Mark only the largest region as reserved in FDT") Addresses-Coverity-ID: 1536994 ("Out-of-bounds write") Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions