aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorEmilio López <[email protected]>2015-09-13 17:15:53 -0300
committerVinod Koul <[email protected]>2015-09-30 12:17:22 +0530
commit40482e64b0b84388561b00b880eeca7000f72d38 (patch)
tree7005e99333699a574292d34fee19dc10b16e0752 /tools/perf/util/c++/clang-test.cpp
parent0b23a1ece9be2c3e04c3b8d3594a1ada1fa1ae50 (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/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions