diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2009-09-08 20:20:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 13:46:18 (GMT) |
commit | 6682bb39e111b34290e25c4d275c5bcf8bbccbe1 (patch) | |
tree | b98c9f32ac12fb8c7957d39fd2acc42f8f4ae47e /drivers/usb/misc/sisusbvga | |
parent | 624defa12f304b4d11eda309bc207fa5a1900d0f (diff) | |
download | linux-6682bb39e111b34290e25c4d275c5bcf8bbccbe1.tar.xz |
USB: Fix SS endpoint companion descriptor parsing.
When there's a descriptor after the SuperSpeed endpoint companion
descriptor, the previous code would have skipped over twice the length it
was supposed to. This code fixes crashes seen with UASP devices (which
have a UASP descriptor after the SS endpoint companion descriptor).
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc/sisusbvga')
0 files changed, 0 insertions, 0 deletions