linux/sound/usb
Takashi Iwai ba8bf0967a ALSA: usb-audio: Fix copy&paste error in the validator
The recently introduced USB-audio descriptor validator had a stupid
copy&paste error that may lead to an unexpected overlook of too short
descriptors for processing and extension units.  It's likely the cause
of the report triggered by syzkaller fuzzer.  Let's fix it.

Fixes: 57f8770620 ("ALSA: usb-audio: More validations of descriptor units")
Reported-by: syzbot+0620f79a1978b1133fd7@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/s5hsgnkdbsl.wl-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-10-22 17:47:32 +02:00
..
6fire
bcd2000
caiaq
hiface ALSA: hiface: fix multiple memory leak bugs 2019-08-07 12:20:00 +02:00
line6 Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
misc
usx2y
card.c
card.h
clock.c ALSA: usb-audio: Remove superfluous bLength checks 2019-08-22 10:36:00 +02:00
clock.h
debug.h
endpoint.c
endpoint.h
format.c
format.h
helper.c ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check 2019-07-30 12:32:21 +02:00
helper.h ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
Kconfig
Makefile Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
media.c
media.h
midi.c
midi.h
mixer_maps.c
mixer_quirks.c Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
mixer_quirks.h
mixer_scarlett_gen2.c ALSA: usb-audio: Scarlett Gen 2 mixer interface 2019-07-28 17:47:48 +02:00
mixer_scarlett_gen2.h ALSA: usb-audio: Scarlett Gen 2 mixer interface 2019-07-28 17:47:48 +02:00
mixer_scarlett.c
mixer_scarlett.h
mixer_us16x08.c
mixer_us16x08.h
mixer.c ALSA: usb-audio: remove some dead code 2019-08-26 15:51:39 +02:00
mixer.h ALSA: usb-audio: Scarlett Gen 2 mixer interface 2019-07-28 17:47:48 +02:00
pcm.c ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers 2019-10-17 10:19:05 +02:00
pcm.h
power.c ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
power.h
proc.c
proc.h
quirks-table.h ALSA: usb-audio: Add Pioneer DDJ-SX3 PCM quirck 2019-08-06 12:52:36 +02:00
quirks.c ALSA: usb-audio: Add DSD support for EVGA NU Audio 2019-09-24 13:58:20 +02:00
quirks.h
stream.c Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
stream.h
usbaudio.h
validate.c ALSA: usb-audio: Fix copy&paste error in the validator 2019-10-22 17:47:32 +02:00