]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usbvision fix overflow of interfaces array
authorOliver Neukum <oneukum@suse.com>
Tue, 27 Oct 2015 11:51:34 +0000 (09:51 -0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Mar 2016 13:25:39 +0000 (14:25 +0100)
commit9b583e2a0ef3f3c2e0fc227ed1b4bd1dfe4ba834
treed559ab16e5e01159e3e433ba8538fb78c63b7033
parentf188d26db58a19d21a4c168d330e4b00b0df9306
usbvision fix overflow of interfaces array

commit 588afcc1c0e45358159090d95bf7b246fb67565f upstream.

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>
[bwh: Backported to 2.6.32: adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/media/video/usbvision/usbvision-video.c