ALSA: line6: Zero-initialize message buffers
authorTakashi Iwai <tiwai@suse.de>
Tue, 2 Apr 2024 06:36:25 +0000 (08:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Apr 2024 13:01:27 +0000 (15:01 +0200)
commitc4e51e424e2c772ce1836912a8b0b87cd61bc9d5
tree41641b7cb79c97882f5047e597938b3f53bd3ec2
parent0bfe105018bd2d7b1e4373193d9b55b37cf4458b
ALSA: line6: Zero-initialize message buffers

For shutting up spurious KMSAN uninit-value warnings, just replace
kmalloc() calls with kzalloc() for the buffers used for
communications.  There should be no real issue with the original code,
but it's still better to cover.

Reported-by: syzbot+7fb05ccf7b3d2f9617b3@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/r/00000000000084b18706150bcca5@google.com
Message-ID: <20240402063628.26609-1-tiwai@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c