[alsa-devel] [PATCH lib 0/5] alsa-lib namehint fixes
Takashi Iwai
tiwai at suse.de
Thu Apr 30 15:06:13 CEST 2015
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
More information about the Alsa-devel
mailing list