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:
E V Ravi <evenka@codeaurora.org>
Loading
Please register or sign in to comment