Ubuntu-focal-kernel/sound/synth
Oswald Buddenhagen 25839cda13 ALSA: emux: improve patch ioctl data validation
BugLink: https://bugs.launchpad.net/bugs/2073621

[ Upstream commit 89b32ccb12ae67e630c6453d778ec30a592a212f ]

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>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
2024-08-02 16:16:21 +02:00
..
emux ALSA: emux: improve patch ioctl data validation 2024-08-02 16:16:21 +02:00
Kconfig
Makefile
util_mem.c