android_kernel_samsung_msm8976/drivers/media/usb/usbvision
Vladis Dronov 87e4617a54 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: Willy Tarreau <w@1wt.eu>
2016-06-07 10:42:50 +02:00
..
Kconfig
Makefile
usbvision-cards.c
usbvision-cards.h
usbvision-core.c
usbvision-i2c.c [media] usbvision: Replace memcpy with struct assignment 2012-12-27 18:44:30 -02:00
usbvision-video.c usbvision: fix crash on detecting device with invalid configuration 2016-06-07 10:42:50 +02:00
usbvision.h