usbvision fix overflow of interfaces array
authorOliver Neukum <oneukum@suse.com>
Tue, 27 Oct 2015 11:51:34 +0000 (09:51 -0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commitb23fbb012d6f5cf39c9ab1c54297e2955b9b7f7f
tree630ec163247df1810e571b237663231eb34859c8
parent05eb296783f56fbc08181ee6d31283088f94b461
usbvision fix overflow of interfaces array

This fixes the crash reported in:
http://seclists.org/bugtraq/2015/Oct/35
The interface number needs a sanity check.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: Vladis Dronov <vdronov@redhat.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name usbvision-fix-overflow-of-interfaces-array.patch
drivers/media/usb/usbvision/usbvision-video.c