From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: tiwai@suse.de
Subject: emu10k1_synth use after free
Date: Mon, 6 Mar 2006 03:53:17 -0500 [thread overview]
Message-ID: <20060306085317.GA19831@redhat.com> (raw)
Thou shalt not dereference freed memory.
Coverity bug #958
Signed-off-by: Dave Jones <davej@redhat.com>
--- linux-2.6/sound/pci/emu10k1/emu10k1_synth.c~ 2006-03-06 03:51:26.000000000 -0500
+++ linux-2.6/sound/pci/emu10k1/emu10k1_synth.c 2006-03-06 03:51:36.000000000 -0500
@@ -62,7 +62,6 @@ static int snd_emu10k1_synth_new_device(
if (snd_emux_register(emu, dev->card, arg->index, "Emu10k1") < 0) {
snd_emux_free(emu);
- emu->hw = NULL;
return -ENOMEM;
}
--
http://www.codemonkey.org.uk
next reply other threads:[~2006-03-06 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 8:53 Dave Jones [this message]
2006-03-06 13:50 ` emu10k1_synth use after free Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060306085317.GA19831@redhat.com \
--to=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox