]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix a crash when save file can't be opened
authorJán Tomko <jtomko@redhat.com>
Wed, 28 Nov 2012 08:08:52 +0000 (09:08 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 28 Nov 2012 09:24:31 +0000 (10:24 +0100)
commit8927c0eab6681ee4ae014cb37fe60b42c225b8df
tree854f618c72c11c58874c3533ce679660a28875b5
parentebb1ccb517c1838f9174378387d97ad08c5fbe82
qemu: fix a crash when save file can't be opened

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