ALSA: seq: Clear padded bytes at expanding events
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:38 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:11:13 +0000 (12:11 +0200)
commitf80e6d60d677be1d4dbbcdbf97379b8fbcf97ff0
treecbb58a899fffa2f84b7ec49b8243b28db44fc4d1
parentf4487c42aae596f02e0cb02a028d2a107ec1737d
ALSA: seq: Clear padded bytes at expanding events

There can be a small memory hole that may not be cleared at expanding
an event with the variable length type.  Make sure to clear it.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-18-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_memory.c