• P
    qemu: blockcopy: Initialize correct source structure · 95d6aff7
    Peter Krempa 提交于
    4cc1f1a0 introduced a crash when doing a
    block copy as virStorageSourceInitChainElement was called on
    "disk->mirror" that is still NULL at that point instead of "mirror"
    which temporarily holds the mirror source struct until it's fully
    initialized. This resulted into a crash as a NULL was dereferenced.
    
    Reported by: Shanzi Yu <shyu@redhat.com>
    95d6aff7
qemu_driver.c 547.0 KB