linux-stable/sound/soc/intel
Charles Keepax 255cc582e6
ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array
The code uses the initialised member of the asoc_sdw_dailink struct to
determine if a member of the array is in use. However in the case the
array is completely full this will lead to an access 1 past the end of
the array, expand the array by one entry to include a space for a
terminator.

Fixes: 27fd36aefa ("ASoC: Intel: sof-sdw: Add new code for parsing the snd_soc_acpi structs")
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20241212105742.1508574-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-12-12 11:08:49 +00:00
..
atom ASoC: Intel: sst: Fix used of uninitialized ctx to log an error 2024-10-28 16:44:52 +00:00
avs ASoC: Intel: avs: da7219: Remove suspend_pre() and resume_post() 2024-12-02 00:29:25 +00:00
boards ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array 2024-12-12 11:08:49 +00:00
catpt ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
common module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
keembay ASoC: intel: fix module autoloading 2024-08-26 15:52:06 +01:00
Kconfig ASoC: Intel: Kconfig: Revert make SND_SOC_ACPI_INTEL_MATCH depend on ACPI 2024-11-08 13:35:27 +00:00
Makefile ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00