]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: cdc-acm: check for valid interfaces
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 16:48:15 +0000 (08:48 -0800)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:38:56 +0000 (14:38 +0100)
commit7f05446ddd65a1ab8b1d3a8dbc5acddbe0c66745
tree6a302c9397e44580fc8228f83ba29e67a96e6410
parentba412300046121eb98bff798f221fdcc7f13424f
USB: cdc-acm: check for valid interfaces

commit 403dff4e2c94f275e24fd85f40b2732ffec268a1 upstream.

We need to check that we have both a valid data and control inteface for both
types of headers (union and not union.)

References: https://bugzilla.kernel.org/show_bug.cgi?id=83551
Reported-by: Simon Schubert <2+kernel@0x2c.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/class/cdc-acm.c