linux-bl808/sound/usb
Takashi Iwai 57f8770620 ALSA: usb-audio: More validations of descriptor units
Introduce a new helper to validate each audio descriptor unit before
and check the unit before actually accessing it.  This should harden
against the OOB access cases with malformed descriptors that have been
recently frequently reported by fuzzers.

The existing descriptor checks are still kept although they become
superfluous after this patch.  They'll be cleaned up eventually
later.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-08-22 10:35:59 +02:00
..
6fire
bcd2000
caiaq
hiface ALSA: hiface: fix multiple memory leak bugs 2019-08-07 12:20:00 +02:00
line6 ALSA: line6: Fix memory leak at line6_init_pcm() error path 2019-08-21 20:00:02 +02:00
misc
usx2y
card.c
card.h
clock.c
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 ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
media.c
media.h
midi.c
midi.h
mixer.c ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
mixer.h
mixer_maps.c
mixer_quirks.c ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate() 2019-08-21 08:19:30 +02:00
mixer_quirks.h
mixer_scarlett.c
mixer_scarlett.h
mixer_us16x08.c
mixer_us16x08.h
pcm.c ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604 2019-08-20 08:58:12 +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
quirks.c ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
quirks.h
stream.c ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
stream.h
usbaudio.h
validate.c ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00