diff options
| author | Rahul Sharma <sharah@codeaurora.org> | 2018-02-02 17:48:00 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-02-05 22:30:08 -0800 |
| commit | 9de2b620dc3055774a454216a017858b9d54062b (patch) | |
| tree | 85cb2528bcba48452df62ff11d5c13c4b0e4a287 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | a7e3f3f2de950836d52b6eeb4c4f1934dd7f89b4 (diff) | |
msm: ais: sensor: Fix out of bound read for region params
The region index is not validated against the region size.
This causes out-of-bound read on the KASAN kernel. Hence
adding restriction that region index is smaller than region size.
Change-Id: I3ebccee89f6e48a84389eb3b9055bc6e09e0310b
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
