aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-21 09:50:36 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-01 15:18:26 +0800
commit70a4571f9abef85e20c60a4654883d5250a36246 (patch)
tree3f3d7e34141269e8a21ba016e3f4567fcc1f99a2 /scripts/patch-kernel
parent1c2cc4a3922738f434fe4872a850f40095cc79d3 (diff)
media: uvcvideo: Fix ENUMINPUT handling
commit 31c5f0c5e25ed71eeced170f113bb590f2f1f6f3 upstream. Properly validate the user-supplied index against the number of inputs. The code used the pin local variable instead of the index by mistake. Reported-by: Jozef Vesely <vesely@gjh.sk> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions