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:
28591df
)
dmaengine: usb-dmac: Fix dereferencing freed memory 'desc'
author
Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com>
Fri, 3 Apr 2015 11:20:15 +0000
(20:20 +0900)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 17 Apr 2015 17:58:48 +0000
(23:28 +0530)
This patch fixes an issue that the usb_dmac_desc_free() is
dereferencing freed memory 'desc' because it uses list_for_each_entry().
This function should use list_for_each_entry_safe().
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
No differences found