summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorAaron Ma <aaron.ma@canonical.com>2026-05-28 16:21:10 +0800
committerMark Brown <broonie@kernel.org>2026-06-08 19:13:05 +0100
commit4d992e63f52d58f52b724606c60ae7b37a1c582f (patch)
tree5ef90d8c3d4083536d8fe87fe454de350c24e045 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentd49ecdf327cc91062d2f80996a163cf65fda1e60 (diff)
ASoC: amd: acp-sdw-sof: Bound DAI link iteration
create_sdw_dailinks() walks sof_dais until it finds an entry with initialised cleared, but sof_dais is allocated with exactly num_ends entries. If all entries are initialised, the loop reads past the end of the array. Pass the allocated entry count to create_sdw_dailinks() and stop before reading past the array. Fixes: 6d8348ddc56e ("ASoC: amd: acp: refactor SoundWire machine driver code") Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Link: https://patch.msgid.link/20260528082110.915549-2-aaron.ma@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions