linux/sound/usb/line6
Artem Egorkine 389d34c2a8 ALSA: line6: fix stack overflow in line6_midi_transmit
commit b8800d324a upstream.

Correctly calculate available space including the size of the chunk
buffer. This fixes a buffer overflow when multiple MIDI sysex
messages are sent to a PODxt device.

Signed-off-by: Artem Egorkine <arteme@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221225105728.1153989-2-arteme@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-04 11:29:00 +01:00
..
capture.c
capture.h
driver.c ALSA: line6: correct midi status byte when receiving data from podxt 2023-01-04 11:29:00 +01: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 2023-01-04 11:29:00 +01:00
midi.h
midibuf.c ALSA: line6: correct midi status byte when receiving data from podxt 2023-01-04 11:29:00 +01:00
midibuf.h ALSA: line6: correct midi status byte when receiving data from podxt 2023-01-04 11:29:00 +01:00
pcm.c
pcm.h
playback.c
playback.h
pod.c ALSA: line6: correct midi status byte when receiving data from podxt 2023-01-04 11:29:00 +01:00
podhd.c
toneport.c
variax.c