aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/media-device.c
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:13:00 +0800
commitc179c9851c1b009faf3ec15b2af5042431a5a2ca (patch)
treee1135d55f7215b7096e50b3e26fcdc8a66dfc00f /drivers/media/media-device.c
parent0ee936021bbea1a9d060cad85eb4796f261489c6 (diff)
downloadkernel_samsung_smdk4412-c179c9851c1b009faf3ec15b2af5042431a5a2ca.zip
kernel_samsung_smdk4412-c179c9851c1b009faf3ec15b2af5042431a5a2ca.tar.gz
kernel_samsung_smdk4412-c179c9851c1b009faf3ec15b2af5042431a5a2ca.tar.bz2
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 'drivers/media/media-device.c')
0 files changed, 0 insertions, 0 deletions