diff options
author | Vladis Dronov <vdronov@redhat.com> | 2015-11-16 15:55:11 -0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-02-13 10:34:14 +0000 |
commit | a71eddf2dd01d45d0d1314fce8a535da76053e7b (patch) | |
tree | 3bcd976a8aa9469f3629c7169bd72b3760bf3aca /fs/adfs/dir_fplus.c | |
parent | ae64b688736b2aa3861ca02792b69041676329a2 (diff) | |
download | linux-stable-a71eddf2dd01d45d0d1314fce8a535da76053e7b.tar.gz linux-stable-a71eddf2dd01d45d0d1314fce8a535da76053e7b.tar.bz2 linux-stable-a71eddf2dd01d45d0d1314fce8a535da76053e7b.zip |
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>
[bwh: Backport to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/adfs/dir_fplus.c')
0 files changed, 0 insertions, 0 deletions