Skip to content
Commit 03a93d52 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Ioannis Glaropoulos
Browse files

arc: core: Fix possible overrun



dyn_reg_info has MPU_DYNAMIC_REGION_AREAS_NUM elements, just changing
the if check to be greater equal to this number to avoid access
MPU_DYNAMIC_REGION_AREAS_NUM element causing an out-of-bounds write.

CID: 205648
Fixes #20487

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent d1acc1e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment