diff options
| author | Dan Carpenter <[email protected]> | 2017-05-26 12:28:05 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-06-07 12:42:03 -0300 |
| commit | 9dff81436d4d8aa252233bd146d882aaa04094e3 (patch) | |
| tree | f50473d650ba1beed190f5175af20e073f561cc7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 94e23b61486c979e92357f9c3a97a277209720ea (diff) | |
[media] atomisp2: off by one in atomisp_s_input()
The isp->inputs[] array has isp->input_cnt elements which have been
initialized so this > should be >=.
This bug is harmless. The check against ATOM_ISP_MAX_INPUTS prevents us
from reading beyond the end of the array. The uninitialized elements
are zeroed out so we will end up returning -EINVAL a few lines later
because the .camera pointer is NULL.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions