diff options
| author | Haibin Liu <haibinl@codeaurora.org> | 2019-04-30 14:16:47 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-07-08 19:09:41 -0700 |
| commit | 1656e2e44ddae9abd52419113d9ab5eb5a10cbc3 (patch) | |
| tree | 32762292defff3ce63cc7b6210a5134e99624d58 /lib/mpi/mpi-pow.c | |
| parent | a19883a728162e7e4b66e2810d1892a84841f26c (diff) | |
msm: sensor: actuator: fix out of bound read for bivcm region params
The region index for bivcm is not validated against the region size.
This causes out-of-bound read on the KASAN kernel.
Add restriction that region index smaller than region size.
CRs-Fixed: 2379514
Change-Id: I72c4a41a4b41c8fa70c174ffd3215a81eaa14355
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
