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

!11750 ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object

parents e2b31952 366a9dac
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: