linux/sound
Takashi Iwai ac0d71ee53 ALSA: ump: Don't accept an invalid UMP protocol number
When a UMP Stream Configuration message is received, the driver tries
to switch the protocol, but there was no sanity check of the protocol,
hence it can pass an invalid value.  Add the check and bail out if a
wrong value is passed.

Fixes: a798076837 ("ALSA: ump: Add helper to change MIDI protocol")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20240529164723.18309-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-05-29 18:48:51 +02:00
..
ac97
aoa
arm
atmel
core ALSA: ump: Don't accept an invalid UMP protocol number 2024-05-29 18:48:51 +02:00
drivers
firewire
hda ALSA/hda: intel-dsp-config: reduce log verbosity 2024-05-28 13:07:51 +02:00
i2c
isa
mips
oss
parisc
pci ALSA: hda/realtek: Adjust G814JZR to use SPI init for amp 2024-05-27 09:29:19 +02:00
pcmcia
ppc
sh
soc sound fixes for 6.10-rc1 2024-05-24 08:48:51 -07:00
sparc
spi
synth
usb ALSA: usb-audio: Fix for sampling rates support for Mbox3 2024-05-16 16:01:55 +02:00
virtio virtio: features, fixes, cleanups 2024-05-23 12:04:36 -07:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c