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