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

Skip to content
Commit 855e7715 authored by Mounika Reddy Tangirala's avatar Mounika Reddy Tangirala
Browse files

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



Issue:
the region index 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.

Change-Id: I141bba45662769f0661c947fb642c2671578f32e
Signed-off-by: default avatarMounika Reddy Tangirala <mtangi@codeaurora.org>
parent 17eb0120
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