Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7967865b authored by E V Ravi's avatar E V Ravi Committed by Gerrit - the friendly Code Review server
Browse files

msm: ais: sensor: actuator: fix out of bound read for bivcm region params



Issue:
The region index for bivcm is not validated against the region size.
This cause out-of-bound read on the KASAN kernel.
Fix:
Add restriction that region index smaller than region size.
CRs-Fixed: 2379514

Change-Id: Iff77993000fc89513be90d9de174728fed3b50a7
Signed-off-by: default avatarE V Ravi <evenka@codeaurora.org>
parent 291c54b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment