]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: Add yet more sanity checks for invalid EPs
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Oct 2017 10:35:46 +0000 (12:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Oct 2017 14:59:29 +0000 (16:59 +0200)
commit5eb3540d2313b4a7e6b2af5a9687cc0e000c29bd
tree9d145790711b0dcdabdf2e864fea81a680bd5b4a
parent23648f8102bdadef257a82b0b6692f49ddd9f1b2
ALSA: line6: Add yet more sanity checks for invalid EPs

There are a few other places calling usb_submit_urb() with the URB
composed from the fixed endpoint without validation.  For avoiding the
spurious kernel warnings, add the sanity checks to appropriate
places.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c
sound/usb/line6/midi.c