diff options
author | Vladis Dronov <vdronov@redhat.com> | 2015-11-16 15:55:11 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-20 15:42:17 +0900 |
commit | 0d8c1f17e86919fbc645ae9283304738476dd67c (patch) | |
tree | 87a5629b56406db04f1384725fc8a40b513cfe92 /drivers/usb | |
parent | 440e9a240ca22cbed85bca3d6950cd75e1349775 (diff) |
usbvision: fix crash on detecting device with invalid configuration
commit fa52bd506f274b7619955917abfde355e3d19ffe upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions