]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: getAutoDumpPath() return value should be dumpfile not domname.
authorYan Fu <yafu@redhat.com>
Wed, 13 Jul 2016 04:39:29 +0000 (12:39 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 13 Jul 2016 05:05:21 +0000 (07:05 +0200)
commit8305322d244337b8af7d2464f88829b307cbb721
treea30fd1f50756df2551ebbea1e680ad5016cf37b6
parentc8f08e487672afcaa53629bddbc6703b5d90e846
qemu: getAutoDumpPath() return value should be dumpfile not domname.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1354238

So we spend some time and effort constructing perfect file name
for an automatic coredump of a domain, but then just leak it and
use the domain name anyway. This is probably due to a silly
mistake that slipped even through review.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c