[libvirt] [PATCH] qemu: fix a crash when save file can't be opened

2012-11-28 Thread Ján Tomko
In qemuDomainSaveMemory, wrapperFd might be NULL and should be checked before calling virFileWrapperFdCatchError. Same in doCoreDump. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=880919 --- src/qemu/qemu_driver.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH] qemu: fix a crash when save file can't be opened

2012-11-28 Thread Martin Kletzander
On 11/28/2012 09:08 AM, Ján Tomko wrote: In qemuDomainSaveMemory, wrapperFd might be NULL and should be checked before calling virFileWrapperFdCatchError. Same in doCoreDump. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=880919 --- src/qemu/qemu_driver.c |6 -- 1 files changed,

Re: [libvirt] [PATCH] qemu: fix a crash when save file can't be opened

2012-11-28 Thread Eric Blake
In qemuDomainSaveMemory, wrapperFd might be NULL and should be checked before calling virFileWrapperFdCatchError. Same in doCoreDump. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=880919 --- src/qemu/qemu_driver.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff