From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH 0/4] ALSA: usb-audio: More strict validation and cleanups
Date: Thu, 22 Aug 2019 09:32:02 +0200 [thread overview]
Message-ID: <20190822073207.8696-1-tiwai@suse.de> (raw)
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
next reply other threads:[~2019-08-22 7:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-22 7:32 Takashi Iwai [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190822073207.8696-1-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).