projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2df813
)
[ALSA] emu10k1_synth use after free
author
Dave Jones
<davej@redhat.com>
Mon, 6 Mar 2006 12:27:39 +0000
(13:27 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Wed, 22 Mar 2006 09:35:23 +0000
(10:35 +0100)
Modules: EMU10K1/EMU10K2 driver
Thou shalt not dereference freed memory.
Coverity bug #958
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1_synth.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/emu10k1/emu10k1_synth.c
b/sound/pci/emu10k1/emu10k1_synth.c
index 1fa393f22a998fa48cfeea9a785a6d55ea9dc75a..204995a1dfbd15e311f0dbce1360b7529b4a5f95 100644
(file)
--- a/
sound/pci/emu10k1/emu10k1_synth.c
+++ b/
sound/pci/emu10k1/emu10k1_synth.c
@@
-62,7
+62,6
@@
static int snd_emu10k1_synth_new_device(struct snd_seq_device *dev)
if (snd_emux_register(emu, dev->card, arg->index, "Emu10k1") < 0) {
snd_emux_free(emu);
- emu->hw = NULL;
return -ENOMEM;
}