linux-stable/sound/soc
Dan Carpenter d685aea5e0
ASoC: audio-graph-card2: fix off by one in graph_parse_node_multi_nm()
The > comparison should be >= to avoid writing one element beyond the end
of the dai_link->ch_maps[] array.  The dai_link->ch_maps[] array is
allocated in graph_parse_node_multi() and it has "nm_max" elements.

Fixes: e2de6808df ("ASoC: audio-graph-card2: add CPU:Codec = N:M support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/1032216f-902f-48f9-aa49-9d5ece8e87f2@moroto.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-12-07 14:00:03 +00:00
..
adi
amd ASoC: amd: acp: modify config flag read logic 2023-12-07 12:13:15 +00:00
apple ASoC: apple: mca: Annotate struct mca_data with __counted_by 2023-10-10 22:10:07 +01:00
atmel ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
au1x ASoC: au1x: convert not to use asoc_xxx() 2023-09-25 14:16:24 +02:00
bcm ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
cirrus ASoC: cirrus: edb93xx: Drop legacy include 2023-12-01 16:59:22 +00:00
codecs ASoC: cs4271: Fix spelling mistake "retrieveing" -> "retrieving" 2023-12-05 13:12:41 +00:00
dwc Linux 6.6-rc7 2023-10-23 19:38:22 +01:00
fsl ASoC: fsl_rpmsg: update Kconfig dependencies 2023-11-29 13:25:29 +00:00
generic ASoC: audio-graph-card2: fix off by one in graph_parse_node_multi_nm() 2023-12-07 14:00:03 +00:00
google ASoC: google: convert not to use asoc_xxx() 2023-09-25 14:16:32 +02:00
hisilicon
img ASoC: img: convert not to use asoc_xxx() 2023-09-25 14:16:21 +02:00
intel ASoC: Intel: machine driver updates 2023-12-06 13:16:10 +00:00
jz4740
kirkwood ASoC: kirkwood: convert not to use asoc_xxx() 2023-09-25 14:16:36 +02:00
loongson ASoC: loongson: convert not to use asoc_xxx() 2023-09-25 14:16:37 +02:00
mediatek ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages 2023-11-03 12:52:28 +00:00
meson ASoC: meson: Make meson_card_remove() return void 2023-10-23 13:29:46 +01:00
mxs ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
pxa ASoC: Merge fixes for consistent cs42l43 schema 2023-10-10 17:07:17 +01:00
qcom ASoC: qcom: sc8280xp: Add support for SM8450 and SM8550 2023-12-01 18:38:59 +00:00
rockchip ASoC: rockchip: Fix unused rockchip_i2s_tdm_match warning for !CONFIG_OF 2023-10-30 15:42:34 +00:00
samsung ASoC: samsung: speyside: Handle component name prefix 2023-10-26 12:15:53 +01:00
sh ASoC: sh: convert not to use dma_request_slave_channel() 2023-11-27 13:44:06 +00:00
sof ASoC: SOF: Intel: hda-codec: Delay the codec device registration 2023-12-07 12:13:14 +00:00
spear
sprd ASoC: sprd: convert not to use asoc_xxx() 2023-09-25 14:16:26 +02:00
starfive ASoC: starfive/jh7110-pwmdac: Convert to platform remove callback returning void 2023-10-23 13:29:44 +01:00
sti ASoC: sti-uniperf: Use default pcm_config instead 2023-11-13 01:26:07 +00:00
stm ASoC: Use device_get_match_data() 2023-10-09 13:13:59 +01:00
sunxi ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
tegra ASoC: tegra: convert not to use dma_request_slave_channel() 2023-11-13 01:26:12 +00:00
ti ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings 2023-10-30 13:30:20 +00:00
uniphier ASoC: uniphier: Make uniphier_aio_remove() return void 2023-10-23 13:29:48 +01:00
ux500 ASoC: ux500: convert not to use asoc_xxx() 2023-09-25 14:16:31 +02:00
xilinx
xtensa ASoC: extensa: convert not to use asoc_xxx() 2023-09-25 14:16:35 +02:00
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c ASoC: Merge fixes for consistent cs42l43 schema 2023-10-10 17:07:17 +01:00
soc-compress.c ASoC: soc-compress: convert not to use asoc_xxx() 2023-09-25 14:16:52 +02:00
soc-core.c ASoC: core: Fix a handful of spelling mistakes. 2023-11-29 13:25:27 +00:00
soc-dai.c ASoC: Merge up workaround for CODECs that play noise on stopped stream 2023-10-27 22:33:15 +01:00
soc-dapm.c ASoC: makes CPU/Codec channel connection map more generic 2023-11-27 13:44:00 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: Merge up fixes 2023-09-26 16:14:44 +02:00
soc-jack.c
soc-link.c ASoC: soc-link: convert not to use asoc_xxx() 2023-09-25 14:16:50 +02:00
soc-ops.c
soc-pcm.c ASoC: makes CPU/Codec channel connection map more generic 2023-11-27 13:44:00 +00:00
soc-topology-test.c
soc-topology.c ASoC: soc-topology: convert not to use asoc_xxx() 2023-09-25 14:16:52 +02:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: convert not to use asoc_xxx() 2023-09-25 14:16:51 +02:00