diff options
author | 2015-04-03 20:20:15 +0900 | |
---|---|---|
committer | 2015-04-17 23:28:48 +0530 | |
commit | d7d8e892aa6fe280a2e2974d9fd1ec9253ee1a05 (patch) | |
tree | 332e18f29948518da896e908c98d781b7b5b734d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dmaengine: sa11x0: report slave capabilities to upper layers (diff) | |
download | wireguard-linux-d7d8e892aa6fe280a2e2974d9fd1ec9253ee1a05.tar.xz wireguard-linux-d7d8e892aa6fe280a2e2974d9fd1ec9253ee1a05.zip |
dmaengine: usb-dmac: Fix dereferencing freed memory 'desc'
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions