diff options
author | Wen Yang <wen.yang99@zte.com.cn> | 2019-07-10 15:25:08 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-10 16:33:56 +0100 |
commit | aa2e362cb6b3f5ca88093ada01e1a0ace8a517b2 (patch) | |
tree | accc5caeb5073d9ffdc8461dafd5afb91af7a5a4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 27862d5a3325bc531ec15e3c607e44aa0fd57f6f (diff) |
ASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm()
After calling of_node_put() on the ports, port, and node variables,
they are still being used, which may result in use-after-free.
Fix this issue by calling of_node_put() after the last usage.
Fixes: dd98fbc558a0 ("ASoC: audio-graph-card: cleanup DAI link loop method - step1")
Link: https://lore.kernel.org/r/1562743509-30496-4-git-send-email-wen.yang99@zte.com.cn
Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions