summaryrefslogtreecommitdiffstats
path: root/sound/parisc/harmony.h
diff options
context:
space:
mode:
authorWen Yang2019-07-10 09:25:09 +0200
committerMark Brown2019-07-10 17:33:57 +0200
commitc152f8491a8d9a4b25afd65a86eb5e55e2a8c380 (patch)
tree9b14795fdc6b5dbca84e92b252d186e6c21902d9 /sound/parisc/harmony.h
parentASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm() (diff)
downloadkernel-qcow2-linux-c152f8491a8d9a4b25afd65a86eb5e55e2a8c380.tar.gz
kernel-qcow2-linux-c152f8491a8d9a4b25afd65a86eb5e55e2a8c380.tar.xz
kernel-qcow2-linux-c152f8491a8d9a4b25afd65a86eb5e55e2a8c380.zip
ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id()
After calling of_node_put() on the node variable, it is still being used, which may result in use-after-free. Fix this issue by calling of_node_put() after the last usage. Fixes: a0c426fe1433 ("ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()") Link: https://lore.kernel.org/r/1562743509-30496-5-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 'sound/parisc/harmony.h')
0 files changed, 0 insertions, 0 deletions