From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH lib 0/5] alsa-lib namehint fixes
Date: Thu, 30 Apr 2015 15:06:13 +0200 [thread overview]
Message-ID: <1430399178-15173-1-git-send-email-tiwai@suse.de> (raw)
Hi,
here is a series of fixes for alsa-lib namehint stuff.
Currently snd_device_name_hint() doesn't return proper lists except
for PCM. Also it may do bogus free() or segfault for wrong
operations. This patchset addresses such issues and also adds the
missing hint descriptions to ctl, seq, hwdep, etc.
Takashi
===
Takashi Iwai (5):
namehint: Fix invalid list access in snd_device_name_hint()
namehint: Fix the listing without device number
namehint: Fix bad free with invalid iface name
Allow hint for ctl, hwdep, timer and seq
conf: Add hint descriptions to ctl, hwdep, seq and timer devices
include/local.h | 2 ++
src/conf/alsa.conf | 15 ++++++++++++++-
src/confmisc.c | 13 +++++++++++++
src/control/control_hw.c | 4 +---
src/control/control_shm.c | 7 ++-----
src/control/namehint.c | 26 ++++++++++++--------------
src/hwdep/hwdep_hw.c | 4 +---
src/pcm/pcm.c | 12 ------------
src/pcm/pcm_local.h | 5 ++---
src/rawmidi/rawmidi.c | 18 ------------------
src/rawmidi/rawmidi_local.h | 2 +-
src/seq/seq_hw.c | 4 +---
src/timer/timer_hw.c | 4 +---
src/timer/timer_query_hw.c | 4 +---
14 files changed, 51 insertions(+), 69 deletions(-)
--
2.3.6
next reply other threads:[~2015-04-30 13:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 13:06 Takashi Iwai [this message]
2015-04-30 13:06 ` [PATCH lib 1/5] namehint: Fix invalid list access in snd_device_name_hint() Takashi Iwai
2015-04-30 13:06 ` [PATCH lib 2/5] namehint: Fix the listing without device number Takashi Iwai
2015-04-30 13:06 ` [PATCH lib 3/5] namehint: Fix bad free with invalid iface name Takashi Iwai
2015-04-30 13:06 ` [PATCH lib 4/5] Allow hint for ctl, hwdep, timer and seq Takashi Iwai
2015-04-30 13:06 ` [PATCH lib 5/5] conf: Add hint descriptions to ctl, hwdep, seq and timer devices 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=1430399178-15173-1-git-send-email-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