Skip to content
Commit 26ec2219 authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

icnss: Add size check before assigning msa permission



While assigning msa permission, number of memory region is passed
as an argument within platform private data. This number could
exceed the range of memory region buffer that preallocated. Hence
add size check before accessing region buffer.

Change-Id: I45f4efc7edaa636c861458dab74b1956767d2019
CRs-Fixed: 2101134
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
parent 010ff9e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment