git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14fc1a
)
usb: gadget: composite: avoid access beyond array max length
author
Maulik Mankad
<maulik@ti.com>
Thu, 13 Jan 2011 12:49:56 +0000
(18:19 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 23 Jan 2011 02:53:27 +0000
(18:53 -0800)
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>
drivers/usb/gadget/composite.c
patch
|
blob
|
history
diff --cc
drivers/usb/gadget/composite.c
Simple merge