]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerChris Wright <chrisw@sous-sol.org>
Mon, 27 Apr 2009 17:37:03 +0000 (10:37 -0700)
commit4be149f9b684906505d49932fd18e1f17721b30f
tree1aa859cab0e2c9b39c3888aca39c16bab768eec3
parent082240d79158decfc9918b96487da38a750b4d1d
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>
Cc: stable <stable@kernel.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