We developed a coccinelle SmPL to detect sound/sooc/generic code and found some use-after-free problems. This patch series fixes those problems.
Wen Yang (4): ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm() ASoC: simple-card: fix an use-after-free in simple_for_each_link() ASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm() ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id() sound/soc/generic/audio-graph-card.c | 30 ++++++++++++++++-------------- sound/soc/generic/simple-card.c | 26 +++++++++++++------------- 2 files changed, 29 insertions(+), 27 deletions(-) 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] -- 2.9.5

