• E
    pci: fix null pointer dereference · 1164e1a2
    Eric Blake 提交于
    Clang detected a null-pointer dereference regression, introduced
    in commit 4e8969eb.  Without this patch, a device with
    unbind_from_stub set to false would eventually try to call
    virFileExists on uncomputed drvdir.
    
    * src/util/pci.c (pciUnbindDeviceFromStub): Ensure drvdir is set
    before use.
    1164e1a2
pci.c 45.6 KB