[alsa-devel] [PATCH 0/4] ALSA: usb-audio: More strict validation and cleanups

Takashi Iwai tiwai at suse.de
Thu Aug 22 09:32:02 CEST 2019


Hi,

this patchset introduces a more comprehensive validation code for
USB-audio descriptor units, mainly for mixer stuff, for yet more
hardening against the malformed descriptors.  The rest are rather
cleanups.


Takashi

===

Takashi Iwai (4):
  ALSA: usb-audio: More validations of descriptor units
  ALSA: usb-audio: Simplify parse_audio_unit()
  ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
  ALSA: usb-audio: Remove superfluous bLength checks

 sound/usb/Makefile   |   3 +-
 sound/usb/clock.c    |  14 +--
 sound/usb/helper.h   |   4 +
 sound/usb/mixer.c    | 237 ++++++++++++------------------------
 sound/usb/power.c    |   2 +
 sound/usb/quirks.c   |   3 +
 sound/usb/stream.c   |  25 ++--
 sound/usb/validate.c | 332 +++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 439 insertions(+), 181 deletions(-)
 create mode 100644 sound/usb/validate.c

-- 
2.16.4



More information about the Alsa-devel mailing list