linux/sound/soc
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
..
adi ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
amd ASoC: amd: yc: Fix the wrong return value 2024-12-10 12:44:15 +00:00
apple ASoC: apple: Fix the wrong format specifier 2024-11-21 14:03:18 +00:00
atmel ASoC: Updates for mchp-spdif(tx/rx) 2024-10-01 14:51:18 +01:00
au1x ASoC: constify snd_soc_component_driver struct 2024-09-30 01:10:48 +02:00
bcm ASoC: bcm63xx-pcm-whistler: fix uninit-value in i2s_dma_isr 2024-11-05 12:53:28 +00:00
cirrus soc: convert ep93xx to devicetree 2024-09-26 12:00:25 -07:00
codecs ASoC: tas2781: Fix calibration issue in stress test 2024-12-11 13:27:45 +00:00
dwc ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
fsl ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER 2024-12-11 18:45:27 +00:00
generic ASoC: audio-graph-card: Call of_node_put() on correct node 2024-12-10 12:44:16 +00:00
google ASoC: google: fix module autoloading 2024-08-26 15:52:07 +01:00
hisilicon ASoC: hisilicon: Drop GPIO include 2023-12-18 14:03:29 +00:00
img ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
intel ASoC: Intel: sof_sdw: Add space for a terminator into DAIs array 2024-12-12 11:08:49 +00:00
jz4740 ASoC: jz4740: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:21 +09:00
kirkwood ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
loongson ASoC: loongson: make loongson-i2s.o a separate module 2024-10-17 12:13:10 +01:00
mediatek ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec 2024-12-05 13:39:58 +00:00
meson ASoC: meson: switch to use rtd->id from rtd->num 2024-11-01 14:48:11 +00:00
mxs ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
pxa ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
qcom ASoC: Merge up fixes 2024-11-14 11:39:47 +00:00
renesas ASoC: sh: switch to use rtd->id from rtd->num 2024-11-01 14:48:12 +00:00
rockchip ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
samsung ASoC: samsung: remove dpcm_xxx flags 2024-10-23 13:01:58 +01:00
sdca module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sdw_utils module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
sof sound fixes for 6.13-rc2 2024-12-06 11:46:39 -08:00
spear ASoC: spear: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:31 +09:00
sprd ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
starfive ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
sti ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00
stm ASoC: stm32: dfsdm: change rate upper limits 2024-11-14 11:42:42 +00:00
sunxi ASoC: sun4i-codec: support allwinner H616 codec 2024-10-24 13:22:18 +01:00
tegra ASoC: tegra: Add support for S24_LE audio format 2024-10-22 15:06:29 +01:00
ti ASoC: rx651: Use card->dev in replace of the &pdev->dev argument in the dev_err function 2024-10-18 18:44:26 +01:00
uniphier ASoC: uniphier: Handle regmap_write errors in aio_iecout_set_enable() 2024-10-23 00:07:04 +01:00
ux500 ASoC: ux500: Remove redundant casts 2024-11-07 15:23:29 +00:00
xilinx ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
xtensa ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
Kconfig ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
Makefile ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
soc-ac97.c ASoC: soc-ac97: Fix the incorrect description 2024-09-10 12:40:24 +01:00
soc-acpi.c ASoC/soundwire: remove sdw_slave_extended_id 2024-10-17 18:42:10 +01:00
soc-card-test.c ASoC: Drop snd_soc_*_get_kcontrol_locked() 2024-08-09 14:24:55 +02:00
soc-card.c ASoC: Drop snd_soc_*_get_kcontrol_locked() 2024-08-09 14:24:55 +02:00
soc-component.c ASoC: remove unused substream in macro soc_component_mark_pop 2024-09-30 01:09:52 +02:00
soc-compress.c ASoC: add symmetric_ prefix for dai->rate/channels/sample_bits 2024-11-11 14:45:41 +00:00
soc-core.c ASoC: cleanup function parameter for rtd and its id 2024-11-01 14:48:16 +00:00
soc-dai.c ASoC: cleanup function parameter for rtd and its id 2024-11-01 14:48:16 +00:00
soc-dapm.c ASoC: dapm: fix bounds checker error in dapm_widget_list_create 2024-10-28 23:30:33 +00:00
soc-devres.c ASoC: soc-devres: Remove unused devm_snd_soc_register_dai 2024-10-28 12:23:27 +00:00
soc-generic-dmaengine-pcm.c ALSA: dmaengine: Synchronize dma channel after drop() 2024-06-11 17:13:31 +01:00
soc-jack.c ASoC: soc-jack: Get rid of legacy GPIO support 2024-03-26 17:13:45 +00:00
soc-link.c ASoC: remove unused substream in macro soc_link_mark_pop 2024-09-30 01:09:53 +02:00
soc-ops.c ASoC: ops: Simplify with cleanup.h 2024-07-08 12:50:02 +01:00
soc-pcm.c ASoC: add symmetric_ prefix for dai->rate/channels/sample_bits 2024-11-11 14:45:41 +00:00
soc-topology-test.c ASoC: soc-topology: remove dpcm_xxx flags 2024-10-23 13:02:02 +01:00
soc-topology.c ASoC: soc-topology: remove dpcm_xxx flags 2024-10-23 13:02:02 +01:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Remove PAGE_SIZE compile-time constant assumption 2024-10-21 14:14:56 +01:00