Re: [libvirt] [PATCH] qemu: Add extra checks for secret destroy API's

2016-05-10 Thread Laine Stump
On 05/10/2016 02:52 PM, John Ferlan wrote: Remove the possibility that a NULL hostdev->privateData or a disk->privateData could crash libvirtd by checking for NULL before dereferencing for the secinfo structure in the qemuDomainSecret{Disk|Hostdev}Destroy functions. The hostdevPriv could be NULL

[libvirt] [PATCH] qemu: Add extra checks for secret destroy API's

2016-05-10 Thread John Ferlan
Remove the possibility that a NULL hostdev->privateData or a disk->privateData could crash libvirtd by checking for NULL before dereferencing for the secinfo structure in the qemuDomainSecret{Disk|Hostdev}Destroy functions. The hostdevPriv could be NULL if qemuProcessNetworkPrepareDevices adds a ne