[Qemu-devel] [PATCHv2] vhost: fix double free on device stop

2011-06-21 Thread Michael S. Tsirkin
vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/vhost.c |1 + 1 files changed, 1

Re: [Qemu-devel] [PATCHv2] vhost: fix double free on device stop

2011-06-21 Thread Chris Wright
* Michael S. Tsirkin (m...@redhat.com) wrote: vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S. Tsirkin

Re: [Qemu-devel] [PATCHv2] vhost: fix double free on device stop

2011-06-21 Thread Jason Wang
On 06/22/2011 01:34 AM, Michael S. Tsirkin wrote: vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S.