diff options
| author | Haibin Liu <haibinl@codeaurora.org> | 2017-12-28 20:42:37 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-02-04 19:10:18 -0800 |
| commit | 6821542253c8fc2fdc5accc3de7a6dd1640e3372 (patch) | |
| tree | f666068df946b5abe33ae21bc0e7d167e3065700 /lib/mpi/mpi-inline.h | |
| parent | 6b83a15ee11921e51663980cdd8bfb714366d5cb (diff) | |
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.
CRs-Fixed: 2153841
Change-Id: I141bba45662769f0661c947fb642c2671578f32e
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
