• P
    qemu: Don't corrupt pointer in qemuDomainSaveMemory() · fb58f8e2
    Peter Krempa 提交于
    The code that was split out into the qemuDomainSaveMemory expands the
    pointer containing the XML description of the domain that it gets from
    higher layers. If the pointer changes the old one is invalid and the
    upper layer function tries to free it causing an abort.
    
    This patch changes the expansion of the original string to a new
    allocation and copy of the contents.
    fb58f8e2
qemu_driver.c 470.8 KB