linux/sound/usb/line6
Takashi Iwai c4e51e424e 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>
2024-04-02 15:01:27 +02:00
..
capture.c ALSA: line6: Perform sanity check for each URB creation 2020-07-10 16:29:18 +02:00
capture.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
driver.c ALSA: line6: Zero-initialize message buffers 2024-04-02 15:01:27 +02:00
driver.h ALSA: line6: remove line6_set_raw declaration 2022-09-09 09:09:20 +02:00
Kconfig
Makefile
midi.c ALSA: line6: fix stack overflow in line6_midi_transmit 2022-12-26 09:07:49 +01:00
midi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
midibuf.c ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
midibuf.h ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
pcm.c sound: usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
pcm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
playback.c ALSA: line6: Perform sanity check for each URB creation 2020-07-10 16:29:18 +02:00
playback.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
pod.c ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
podhd.c ALSA: line6: Replace sprintf() with sysfs_emit() 2022-08-02 16:03:49 +02:00
toneport.c ALSA: line6: fix control and interrupt message timeouts 2021-10-26 08:12:14 +02:00
variax.c ALSA: line6: Fix racy initialization of LINE6 MIDI 2021-05-19 16:25:57 +02:00