diff options
| author | Daniel W. S. Almeida <[email protected]> | 2020-08-07 10:35:30 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-10 14:06:27 +0200 |
| commit | f875bcc375c738bf2f599ff2e1c5b918dbd07c45 (patch) | |
| tree | 99629a389751d6642d5c050ed9c1d871c50925ff /tools/perf/scripts/python/bin | |
| parent | f5a3048a840ddf94f651a2694d10aefd6b5f757d (diff) | |
media: uvcvideo: Fix dereference of out-of-bound list iterator
Fixes the following coccinelle report:
drivers/media/usb/uvc/uvc_ctrl.c:1860:5-11:
ERROR: invalid reference to the index variable of the iterator on line 1854
by adding a boolean variable to check if the loop has found the
Found using - Coccinelle (http://coccinelle.lip6.fr)
[Replace cursor variable with bool found]
Signed-off-by: Daniel W. S. Almeida <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions