Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ALSA: usb-audio: More strict validation and cleanups
@ 2019-08-22  7:32 Takashi Iwai
  2019-08-22  7:32 ` [PATCH] ALSA: usb-audio: Check mixer unit bitmap yet more strictly Takashi Iwai
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Takashi Iwai @ 2019-08-22  7:32 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-08-22  8:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-22  7:32 [PATCH 0/4] ALSA: usb-audio: More strict validation and cleanups Takashi Iwai
2019-08-22  7:32 ` [PATCH] ALSA: usb-audio: Check mixer unit bitmap yet more strictly Takashi Iwai
2019-08-22  8:31   ` Amadeusz Sławiński
2019-08-22  8:35     ` Takashi Iwai
2019-08-22  9:01       ` Amadeusz Sławiński
2019-08-22  7:32 ` [PATCH 1/4] ALSA: usb-audio: More validations of descriptor units Takashi Iwai
2019-08-22  8:51   ` Amadeusz Sławiński
2019-08-22  8:52     ` Takashi Iwai
2019-08-22  7:32 ` [alsa-devel] [PATCH 2/4] ALSA: usb-audio: Simplify parse_audio_unit() Takashi Iwai
2019-08-22  7:32 ` [PATCH 3/4] ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects Takashi Iwai
2019-08-22  7:32 ` [PATCH 4/4] ALSA: usb-audio: Remove superfluous bLength checks Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox