diff options
author | 2011-01-13 18:19:56 +0530 | |
---|---|---|
committer | 2011-01-22 18:53:27 -0800 | |
commit | 3c47eb06f08eb970ea9d696bcdb57a175d37b470 (patch) | |
tree | 9cc8df6c428c7973caa5b28e19ffc75622ef2c6a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | USB: serial: handle Data Carrier Detect changes (diff) | |
download | wireguard-linux-3c47eb06f08eb970ea9d696bcdb57a175d37b470.tar.xz wireguard-linux-3c47eb06f08eb970ea9d696bcdb57a175d37b470.zip |
usb: gadget: composite: avoid access beyond array max length
One of the USB CV MSC tests issues Get Max LUN request with
invalid wIndex (wIndex = 65535) parameter.
Add proper handling to prevent array index out of bounds issue.
Signed-off-by: Maulik Mankad <maulik@ti.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions