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:
3b49d23
)
USB: fix oops in usb_sg_init()
author
Alan Stern
<stern@rowland.harvard.edu>
Fri, 18 Jun 2010 14:16:33 +0000
(10:16 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 30 Jun 2010 15:16:06 +0000
(08:16 -0700)
This patch (as1401) fixes a bug in usb_sg_init() that can cause an
invalid pointer dereference. An inner loop reuses some local variables
in an unsafe manner, so new variables are introduced.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found