Oswald Buddenhagen 79d9a000f0 ALSA: emux: improve patch ioctl data validation
[ 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>
2024-07-05 09:08:28 +02:00
..
2022-11-03 23:56:56 +09:00
2022-04-15 14:18:08 +02:00
2019-07-08 14:45:34 +02:00
2023-09-23 10:59:53 +02:00
2019-08-08 08:18:32 +02:00