* [Qemu-devel] possible bug in block-vmdk.c
@ 2008-11-27 14:06 Rosen Sharma
2008-11-27 19:05 ` Ed Maste
0 siblings, 1 reply; 2+ messages in thread
From: Rosen Sharma @ 2008-11-27 14:06 UTC (permalink / raw)
To: qemu-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-27 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27 14:06 [Qemu-devel] possible bug in block-vmdk.c Rosen Sharma
2008-11-27 19:05 ` Ed Maste
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).