]> git.alsa-project.org Git - alsa-lib.git/commit
Add check of binding ranges in direct plugins
authorTakashi Iwai <tiwai@suse.de>
Wed, 26 Apr 2006 16:30:44 +0000 (18:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 26 Apr 2006 16:30:44 +0000 (18:30 +0200)
commit6ff727bb7f44b0d7b5bb21013efea710075de93c
tree4b7cb386000163ab03f8b1b2aee7cb837c73bef1
parent4632e0f637f9142a6035454fa42a9301ea741f2e
Add check of binding ranges in direct plugins

Add checks of slave channel numbers in bindings of dmix/dsnoop/dshare
plugins to avoid segfault.
Also, fix a possible memory leaks in the error path.
src/pcm/pcm_direct.c
src/pcm/pcm_direct.h
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c