kernel-fxtec-pro1x/sound/core
Akinobu Mita c13893d7be [ALSA] sound: initialize rawmidi substream list
If snd_rawmidi_new() failed to allocate substreams for input
(snd_rawmidi_alloc_substreams() failed to populate a
&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]), it will try to
free rawmidi instance by snd_rawmidi_free().
But it will cause oops because snd_rawmidi_free() tries to free
both of substreams list but list for output
(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]) is not initialized yet.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-12-20 08:55:59 +01:00
..
oss [ALSA] Fix races in PCM OSS emulation 2006-12-20 08:55:54 +01:00
seq [ALSA] use the roundup macro 2006-12-20 08:55:37 +01:00
control.c [ALSA] sound/core/control.c: remove dead code 2006-12-20 08:55:46 +01:00
control_compat.c [ALSA] Add missing compat ioctls for ALSA control API 2006-09-23 10:47:19 +02:00
device.c [ALSA] Unregister device files at disconnection 2006-09-23 10:36:58 +02:00
hwdep.c [ALSA] Dereference after free in snd_hwdep_release() 2006-10-06 20:22:59 +02:00
hwdep_compat.c [PATCH] hwdep_compat missed __user annotations 2006-10-10 15:37:21 -07:00
info.c [PATCH] struct path: convert sound 2006-12-08 08:28:49 -08:00
info_oss.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
init.c Driver core: convert sound core to use struct device 2006-12-01 14:52:01 -08:00
isadma.c
Kconfig
Makefile
memalloc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
memory.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
misc.c
pcm.c Driver core: convert sound core to use struct device 2006-12-01 14:52:01 -08:00
pcm_compat.c [ALSA] Fix control/status mmap with shared PCM substream 2006-09-23 10:39:50 +02:00
pcm_lib.c [ALSA] pcm core: fix silence_start calculations 2006-12-20 08:55:43 +01:00
pcm_memory.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
pcm_misc.c
pcm_native.c [PATCH] struct path: convert sound 2006-12-08 08:28:49 -08:00
pcm_timer.c
rawmidi.c [ALSA] sound: initialize rawmidi substream list 2006-12-20 08:55:59 +01:00
rawmidi_compat.c
rtctimer.c [ALSA] rtctimer: handle RTC interrupts with a tasklet 2006-11-28 13:46:33 +01:00
sgbuf.c [ALSA] use the ALIGN macro 2006-12-20 08:55:36 +01:00
sound.c Driver core: convert sound core to use struct device 2006-12-01 14:52:01 -08:00
sound_oss.c [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
timer.c [ALSA] system timer: remove unused snd_timer_system_private.timer field 2006-09-23 10:38:17 +02:00
timer_compat.c