linux/sound/core
Akinobu Mita 4d36128592 [ALSA] sound: fix PCM substream list
If snd_pcm_new_stream() fails to initalize a substream (if
snd_pcm_substream_proc_init() returns error), snd_pcm_new_stream()
immediately return without unlinking that kfree()d substram.
It causes oops when snd_pcm_free() iterates the list of substream to
free them by invalid reference.

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:56:00 +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
Kconfig
Makefile
control.c [ALSA] sound/core/control.c: remove dead code 2006-12-20 08:55:46 +01:00
control_compat.c
device.c
hwdep.c
hwdep_compat.c
info.c
info_oss.c
init.c
isadma.c
memalloc.c
memory.c
misc.c
pcm.c [ALSA] sound: fix PCM substream list 2006-12-20 08:56:00 +01:00
pcm_compat.c
pcm_lib.c [ALSA] pcm core: fix silence_start calculations 2006-12-20 08:55:43 +01:00
pcm_memory.c
pcm_misc.c
pcm_native.c
pcm_timer.c
rawmidi.c [ALSA] sound: initialize rawmidi substream list 2006-12-20 08:55:59 +01:00
rawmidi_compat.c
rtctimer.c
sgbuf.c [ALSA] use the ALIGN macro 2006-12-20 08:55:36 +01:00
sound.c
sound_oss.c
timer.c
timer_compat.c