diff options
author | Emilio López <[email protected]> | 2015-09-13 17:15:53 -0300 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2015-09-30 12:17:22 +0530 |
commit | 40482e64b0b84388561b00b880eeca7000f72d38 (patch) | |
tree | 7005e99333699a574292d34fee19dc10b16e0752 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0b23a1ece9be2c3e04c3b8d3594a1ada1fa1ae50 (diff) |
dmaengine: sun4i: fix unsafe list iteration
Currently, sun4i_dma_free_contract iterates over lists and frees memory
as it goes through them, causing reads to recently freed memory to
be performed. Fix this by using the safe version of the iterator, so
freed memory is not referenced at all.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Emilio López <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions