[alsa-devel] [PATCH 0/4] Fix some use-after-free problems in sound/soc/generic

Wen Yang wen.yang99 at zte.com.cn
Wed Jul 10 09:25:05 CEST 2019


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 <lgirdwood at gmail.com>
Cc: Mark Brown <broonie at kernel.org>
Cc: Jaroslav Kysela <perex at perex.cz>
Cc: Takashi Iwai <tiwai at suse.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
Cc: alsa-devel at alsa-project.org
Cc: linux-kernel at vger.kernel.org

-- 
2.9.5



More information about the Alsa-devel mailing list