diff options
| author | Haibin Liu <haibinl@codeaurora.org> | 2017-12-28 20:42:37 +0800 |
|---|---|---|
| committer | Oleg Matcovschi <omatcovschi@google.com> | 2018-03-15 15:24:47 -0700 |
| commit | b21192c78473a074293b152e6ad0ceb2a0465958 (patch) | |
| tree | 908a67133c063c71554703da31fe7f7a2e7f2dc7 /net/lapb/lapb_timer.c | |
| parent | c66dbfd52723e5e6ab63cea7b7ad54d18e51b8fe (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
Bug: 65122765
Change-Id: I141bba45662769f0661c947fb642c2671578f32e
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
