aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2019-07-04 16:38:50 +0800
committerMark Brown <[email protected]>2019-07-04 13:15:37 +0100
commit1bcc1fd64e4dd903f4d868a9e053986e3b102713 (patch)
treece2406dcbdb3a57702bebc4e8bf47eb58bca0c6a /net/lapb/lapb_subr.c
parentda7260cc8d1dc3564eb4f33550b0525541d71a47 (diff)
ASoC: audio-graph-card: fix use-after-free in graph_for_each_link
After calling of_node_put() on the codec_ep and codec_port variables, they are still being used, which may result in use-after-free. We fix this issue by calling of_node_put() after the last usage. Fixes: fce9b90c1ab7 ("ASoC: audio-graph-card: cleanup DAI link loop method - step2") Signed-off-by: Wen Yang <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: Jaroslav Kysela <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: Kuninori Morimoto <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions