aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-11-09 16:28:14 -0500
committerMauro Carvalho Chehab <[email protected]>2017-12-08 11:12:53 -0500
commitd5ac225c7d64c9c3ef821239edc035634e594ec9 (patch)
tree5e69609632fcc8148ab1c114566757ebf9ef8c0b /tools/perf/scripts/python/netdev-times.py
parenta95d811e50f1eae1da11b47b5dbc757cab9c8994 (diff)
media: cpia2: Fix a couple off by one bugs
The cam->buffers[] array has cam->num_frames elements so the > needs to be changed to >= to avoid going beyond the end of the array. The ->buffers[] array is allocated in cpia2_allocate_buffers() if you want to confirm. Fixes: ab33d5071de7 ("V4L/DVB (3376): Add cpia2 camera support") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions