summaryrefslogtreecommitdiff
path: root/drivers/media/rc/rc-ir-raw.c
diff options
context:
space:
mode:
authorVladis Dronov <vdronov@redhat.com>2015-11-16 20:55:11 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-11-19 16:36:02 +0300
commitfa52bd506f274b7619955917abfde355e3d19ffe (patch)
tree1110302c66e4c2482eaaff93cf91fd6d38550985 /drivers/media/rc/rc-ir-raw.c
parent1efc21701d94ed0c5b91467b042bed8b8becd5cc (diff)
downloadlinux-fa52bd506f274b7619955917abfde355e3d19ffe.tar.xz
[media] usbvision: fix crash on detecting device with invalid configuration
The usbvision driver crashes when a specially crafted usb device with invalid number of interfaces or endpoints is detected. This fix adds checks that the device has proper configuration expected by the driver. Reported-by: Ralf Spenneberg <ralf@spenneberg.net> Signed-off-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/rc-ir-raw.c')
0 files changed, 0 insertions, 0 deletions