diff options
author | Mirela Rabulea <[email protected]> | 2022-03-08 14:16:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-05-13 11:02:17 +0200 |
commit | e490fa1be5fe820029aa2ff2f70bcbbcebc11d28 (patch) | |
tree | c95c87fd78d06979bca110446286e80a76f9d5d8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ae309657b0b682e497f746ec5f3f054a2b4dc71a (diff) |
media: imx-jpeg: Fix potential array out of bounds in queue_setup
Fix smatch warning in mxc_jpeg_queue_setup, check *nplanes against
current format:
drivers/media/platform/imx-jpeg/mxc-jpeg.c:1070
mxc_jpeg_queue_setup()
warn: potential user controlled iterator 'i' (array size 2 vs 7)
Signed-off-by: Mirela Rabulea <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions