• E
    qemu: avoid NULL derefs · abaa6560
    Eric Blake 提交于
    The processWatchdogEvent fix is real, although it can only trigger
    on OOM, since bad things happen if doCoreDump is called with a NULL
    pathname argument.  The other fixes silence clang, but aren't a real
    bug because virReportErrorHelper tolerates a NULL format string even
    though *printf does not.
    
    * src/qemu/qemu_driver.c (processWatchdogEvent): Exit on OOM.
    (qemuDomainIsActive, qemuDomainIsPersistent, qemuDomainIsUpdated):
    Provide valid message.
    abaa6560
qemu_driver.c 323.1 KB