USB: fix oops in cdc-wdm in case of malformed descriptors
authorOliver Neukum <oliver@neukum.org>
Fri, 17 Apr 2009 21:20:06 +0000 (21:20 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:24:29 +0000 (10:24 -0700)
commit42913f4b4783b67a5e9e7f15c56373d63449e463
treee52970d955f075f006c04954dd20443511fcbeaf
parenta8575ac1b8b3736cd1d9c43e33aece398cceb6d1
USB: fix oops in cdc-wdm in case of malformed descriptors

upstream commit: e13c594f3a1fc2c78e7a20d1a07974f71e4b448f

cdc-wdm needs to ignore extremely malformed descriptors.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/usb/class/cdc-wdm.c