diff options
| author | E V Ravi <evenka@codeaurora.org> | 2018-11-16 18:07:51 +0530 |
|---|---|---|
| committer | E V Ravi <evenka@codeaurora.org> | 2018-11-16 18:13:51 +0530 |
| commit | 77d8951c4e74d1535be2680e35e2b9f210d2f0aa (patch) | |
| tree | f0c5c0798486a7766cd914088cbe1cedcc3225d2 /lib/lockref.c | |
| parent | 23d37eecf80f7b08fde9a8f3d888855f9b08ca21 (diff) | |
msm: ais: fix off-by-one overflow in msm_isp_get_bufq
In msm_isp_get_bufq, if bufq_index == buf_mgr->num_buf_q,
it will pass the check, leading to off-by-one overflow
(exceed the length of array by one element).
Change-Id: Iccf02b68314e770ad9fae41973cad6ff7700b822
Signed-off-by: E V Ravi <evenka@codeaurora.org>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
