Files
linux/sound/core
Takashi Iwai 86496fd4a2 ALSA: seq: Fix snd_seq_expand_var_event() call to user-space
The recent fix to clear the padding bytes at
snd_seq_expand_var_event() broke the read to user-space with
in_kernel=0 parameter.  For user-space address, it has to use
clear_user() instead of memset().

Fixes: f80e6d60d6 ("ALSA: seq: Clear padded bytes at expanding events")
Reported-and-tested-by: Ash Holland <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
2023-09-05 10:13:46 +02:00
..
2023-08-17 09:23:30 +02:00
2023-08-17 09:24:01 +02:00
2023-05-23 12:11:09 +02:00
2022-07-29 12:57:10 +02:00
2023-08-17 09:23:45 +02:00
2023-05-23 12:10:54 +02:00
2023-08-17 09:24:08 +02:00