]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't clear libvirt-internal paths when parsing status XML
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 8 Jan 2016 12:59:20 +0000 (13:59 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 11 Jan 2016 09:54:50 +0000 (10:54 +0100)
commit8223bd22ed90680544ce153da0001376b58a7cf8
tree6bf1697b8fc4a2de93dc6d3046d7d1e3cf066b8e
parent93103da84bf938f419b400a5c40898bd1b816331
Don't clear libvirt-internal paths when parsing status XML

Earlier commit 714080791778e3dfbd484ccb3953bffd820b8ba9 forgot to deal
properly with status XMLs where we want the libvirt-internal paths to be
kept in place and not cleared, otherwise we could end up copying a NULL
string and segfaulting th daemon.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.c