Skip to content

alsa-lib namehint fixes

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5namehint: Fix invalid list access in snd_device_name_hint()src/control/namehint.c+10 -110 replies
2/5namehint: Fix the listing without device numbersrc/control/namehint.c+0 -10 replies
3/5namehint: Fix bad free with invalid iface namesrc/control/namehint.c+2 -20 replies
4/5Allow hint for ctl, hwdep, timer and seqinclude/local.h src/confmisc.c src/control/control_hw.c +9 more+25 -540 replies
5/5conf: Add hint descriptions to ctl, hwdep, seq and timer devicessrc/conf/alsa.conf+14 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH lib 0/5] alsa-lib namehint fixes

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(-)
Signature · 1 line
2.3.6