[PATCH] ASoC: Intel: sof_rt5682: fix out-of-bounds array access

Lu, Brent brent.lu at intel.com
Fri Jul 1 16:18:07 CEST 2022


> On 01/07/2022 11:19, Brent Lu wrote:
> > Starting from ADL platform we have four HDMI PCM devices which exceeds
> > the size of sof_hdmi array. Since each sof_hdmi_pcm structure
> > represents one HDMI PCM device, we remove the sof_hdmi array and add a
> > new member hdmi_jack to the snd_soc_jack structure to fix the
> 
> "new member hdmi_jack to the sof_hdmi_pcm structure to fix the"
> 
> > out-of-bounds problem.
> 
> Other than that:
> Reviewed-by: Peter Ujfalusi <peter.ujfalusi at linux.intel.com>
> 

Thanks for the review. Will fix it in V2 patch.

Brent



More information about the Alsa-devel mailing list