Unverified Commit 0d2e536b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11748 ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object

parents 19bd761b 7e098991
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4018,6 +4018,7 @@ static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w,

	case SND_SOC_DAPM_POST_PMD:
		kfree(substream->runtime);
		substream->runtime = NULL;
		break;

	default: