qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/4] virtio-net: Fix potential use-after-free


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH 3/4] virtio-net: Fix potential use-after-free
Date: Wed, 27 Jul 2011 14:21:05 +0530
User-agent: Mutt/1.5.21 (2010-09-15)

On (Wed) 27 Jul 2011 [11:43:44], Michael S. Tsirkin wrote:
> On Wed, Jul 27, 2011 at 02:00:31PM +0530, Amit Shah wrote:
> > virtio_cleanup() will remove the VirtIONet struct that gets allocated
> > via virtio_common_init().  Ensure we don't dereference the structure
> > after calling the cleanup function.
> > 
> > Signed-off-by: Amit Shah <address@hidden>
> 
> I see. It's not a use after free but will be once
> you make virtio_cleanup free the vdev?

Yes, the next patch.

                Amit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]