summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-05-26 12:28:05 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-07 12:42:03 -0300
commit9dff81436d4d8aa252233bd146d882aaa04094e3 (patch)
treef50473d650ba1beed190f5175af20e073f561cc7 /tools/perf/scripts/python/stackcollapse.py
parent94e23b61486c979e92357f9c3a97a277209720ea (diff)
downloadlinux-9dff81436d4d8aa252233bd146d882aaa04094e3.tar.gz
linux-9dff81436d4d8aa252233bd146d882aaa04094e3.zip
[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 <dan.carpenter@oracle.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions