diff options
| author | Takashi Iwai <[email protected]> | 2023-09-05 08:12:10 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-09-05 08:13:46 +0000 |
| commit | 86496fd4a2fabb7c978fdaca2d4b718207a96d36 (patch) | |
| tree | e460ea9fbcdcdbc864fdce8a84cada363352191d /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | ALSA: usb-audio: Fix potential memory leaks at error path for UMP open (diff) | |
| download | kernel-86496fd4a2fabb7c978fdaca2d4b718207a96d36.tar.gz kernel-86496fd4a2fabb7c978fdaca2d4b718207a96d36.zip | |
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: f80e6d60d677 ("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]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
