linux-stable/sound/synth/emux
Oswald Buddenhagen d0ff2443fc ALSA: emux: improve patch ioctl data validation
[ Upstream commit 89b32ccb12 ]

In load_data(), make the validation of and skipping over the main info
block match that in load_guspatch().

In load_guspatch(), add checking that the specified patch length matches
the actually supplied data, like load_data() already did.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Message-ID: <20240406064830.1029573-8-oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 09:31:49 +02:00
..
emux.c ALSA: Use del_timer_sync() before freeing timer 2022-10-27 08:42:08 +02:00
emux_effect.c ALSA: synth: Fix assignment in if condition 2021-06-09 17:30:35 +02:00
emux_hwdep.c ALSA: synth: Fix assignment in if condition 2021-06-09 17:30:35 +02:00
emux_nrpn.c ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-02-14 19:11:41 +01:00
emux_oss.c ALSA: seq: oss: Constify snd_seq_oss_callback definitions 2020-01-03 09:24:41 +01:00
emux_proc.c
emux_seq.c
emux_synth.c ALSA: emux: More constifications 2020-01-05 16:14:46 +01:00
emux_voice.h
Makefile
soundfont.c ALSA: emux: improve patch ioctl data validation 2024-07-05 09:31:49 +02:00