commit | fa52bd506f274b7619955917abfde355e3d19ffe | [log] [tgz] |
---|---|---|
author | Vladis Dronov <vdronov@redhat.com> | Mon Nov 16 15:55:11 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Nov 19 11:36:02 2015 -0200 |
tree | 1110302c66e4c2482eaaff93cf91fd6d38550985 | |
parent | 1efc21701d94ed0c5b91467b042bed8b8becd5cc [diff] |
[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>