From: "Rosen Sharma" <rosen@sharevm.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] possible bug in block-vmdk.c
Date: Thu, 27 Nov 2008 06:06:53 -0800 [thread overview]
Message-ID: <dbb96ca80811270606l4688f43dr9850d6b5c4359e37@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 348 bytes --]
bdrv_delete(s->hd) frees the memory pointed to by s->hd.
vmdk_parent_close accesses the freed memory?
----
static void vmdk_close(BlockDriverState *bs)
{
BDRVVmdkState *s = bs->opaque;
qemu_free(s->l1_table);
qemu_free(s->l2_cache);
bdrv_delete(s->hd);
// try to close parent image, if exist
vmdk_parent_close(s->hd);
}
[-- Attachment #2: Type: text/html, Size: 514 bytes --]
next reply other threads:[~2008-11-27 14:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-27 14:06 Rosen Sharma [this message]
2008-11-27 19:05 ` [Qemu-devel] possible bug in block-vmdk.c Ed Maste
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=dbb96ca80811270606l4688f43dr9850d6b5c4359e37@mail.gmail.com \
--to=rosen@sharevm.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).