USB: fix oops in cdc-wdm in case of malformed descriptors
authorOliver Neukum <oliver@neukum.org>
Sat, 4 Apr 2009 07:25:15 +0000 (09:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 17:50:24 +0000 (10:50 -0700)
commite13c594f3a1fc2c78e7a20d1a07974f71e4b448f
tree8492d168693800146ca08333a5431ae15ed2efa0
parentf05932c0caf40c43af8a2c21adf7c46a00c436c4
USB: fix oops in cdc-wdm in case of malformed descriptors

cdc-wdm needs to ignore extremely malformed descriptors.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-wdm.c