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

!11749 ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object

parents f71d543d 69fdc7b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4014,6 +4014,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: