diff options
author | Wen Yang <wen.yang99@zte.com.cn> | 2019-07-10 09:25:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-10 17:33:55 +0200 |
commit | 27862d5a3325bc531ec15e3c607e44aa0fd57f6f (patch) | |
tree | 2d50bdb26c3429189e5eb9522c5be5d6171c1384 /mm | |
parent | ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm() (diff) | |
download | linux-27862d5a3325bc531ec15e3c607e44aa0fd57f6f.tar.xz linux-27862d5a3325bc531ec15e3c607e44aa0fd57f6f.zip |
ASoC: simple-card: fix an use-after-free in simple_for_each_link()
The codec variable is still being used after the of_node_put() call,
which may result in use-after-free.
Fixes: d947cdfd4be2 ("ASoC: simple-card: cleanup DAI link loop method - step1")
Link: https://lore.kernel.org/r/1562743509-30496-3-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 'mm')
0 files changed, 0 insertions, 0 deletions