WSL2-Linux-Kernel/sound
Johan Carlsson 9af1658ba2 ALSA: usb-audio: Stop parsing channels bits when all channels are found.
[ Upstream commit a39d51ff1f52cd0b6fe7d379ac93bd8b4237d1b7 ]

If a usb audio device sets more bits than the amount of channels
it could write outside of the map array.

Signed-off-by: Johan Carlsson <johan.carlsson@teenage.engineering>
Fixes: 04324ccc75 ("ALSA: usb-audio: add channel map support")
Message-ID: <20240313081509.9801-1-johan.carlsson@teenage.engineering>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:21:32 -04:00
..
ac97
aoa
arm
atmel
core ALSA: seq: fix function cast warnings 2024-03-26 18:21:27 -04:00
drivers
firewire ALSA: firewire-lib: fix to check cycle continuity 2024-03-06 14:38:48 +00:00
hda ALSA: hda: intel-dspcfg: add filters for ARL-S and ARL 2024-02-23 08:54:47 +01:00
i2c
isa
mips
oss
parisc
pci ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops 2024-03-26 18:21:32 -04:00
pcmcia
ppc
sh
soc ASoC: meson: axg-tdm-interface: add frame rate constraint 2024-03-26 18:21:30 -04:00
sparc
spi
synth
usb ALSA: usb-audio: Stop parsing channels bits when all channels are found. 2024-03-26 18:21:32 -04:00
virtio
x86
xen
Kconfig um: Fix hostaudio build errors 2023-09-19 12:22:49 +02:00
Makefile
ac97_bus.c
last.c
sound_core.c