diff options
author | Vladis Dronov <vdronov@redhat.com> | 2015-11-16 20:55:11 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-19 16:36:02 +0300 |
commit | fa52bd506f274b7619955917abfde355e3d19ffe (patch) | |
tree | 1110302c66e4c2482eaaff93cf91fd6d38550985 /drivers/media/rc/rc-ir-raw.c | |
parent | 1efc21701d94ed0c5b91467b042bed8b8becd5cc (diff) | |
download | linux-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