Re: [libvirt] [PATCH] qemu: perf: Fix crash/memory corruption on failed VM start

2016-04-07 Thread Peter Krempa
On Thu, Apr 07, 2016 at 13:18:42 +0200, Ján Tomko wrote: > On Thu, Apr 07, 2016 at 12:52:19PM +0200, Peter Krempa wrote: > > The new perf code didn't bother to clear a pointer in 'priv' causing a > > double free or other memory corruption goodness if a VM failed to start. > > > > Clear the pointer

Re: [libvirt] [PATCH] qemu: perf: Fix crash/memory corruption on failed VM start

2016-04-07 Thread Ján Tomko
On Thu, Apr 07, 2016 at 12:52:19PM +0200, Peter Krempa wrote: > The new perf code didn't bother to clear a pointer in 'priv' causing a > double free or other memory corruption goodness if a VM failed to start. > > Clear the pointer after freeing the memory. > > Resolves: https://bugzilla.redhat.c

[libvirt] [PATCH] qemu: perf: Fix crash/memory corruption on failed VM start

2016-04-07 Thread Peter Krempa
The new perf code didn't bother to clear a pointer in 'priv' causing a double free or other memory corruption goodness if a VM failed to start. Clear the pointer after freeing the memory. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324757 --- src/qemu/qemu_process.c | 2 ++ 1 file cha