• E
    virsh: avoid null pointer dereference · 44699b32
    Eric Blake 提交于
    Clang detected that vol-download will call unlink(NULL) if there
    is a parse error during option parsing.  Also, mingw doesn't like
    unlinking an open file.
    
    * tools/virsh.c (cmdVolDownload): Only unlink file if created.
    44699b32
virsh.c 361.2 KB