diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2006-11-23 12:03:24 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@server.perex.cz> | 2006-12-20 08:56:00 +0100 |
commit | 4d361285925613516560f81f8c7fc96b89c8b1a8 (patch) | |
tree | fe0d8766af901f3fa99023f6aaab223412f6f364 /sound/pci/ca0106/ca0106_main.c | |
parent | c13893d7be4f159b359a1b7ee46b3646ecb2fe20 (diff) | |
download | blackbird-op-linux-4d361285925613516560f81f8c7fc96b89c8b1a8.tar.gz blackbird-op-linux-4d361285925613516560f81f8c7fc96b89c8b1a8.zip |
[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>
Diffstat (limited to 'sound/pci/ca0106/ca0106_main.c')
0 files changed, 0 insertions, 0 deletions