a74a163 qemu: Avoid a possible NULL pointer deref in qemuDomainGetTLSObjects

1 file Authored by Ashish Mittal 6 years ago, Committed by John Ferlan 6 years ago,
    qemu: Avoid a possible NULL pointer deref in qemuDomainGetTLSObjects
    
    Passing a NULL value for the argument secAlias to the function
    qemuDomainGetTLSObjects would cause a segmentation fault in
    libvirtd.
    
    Changed code to check before dereferencing a NULL secAlias.
    
    Signed-off-by: Ashish Mittal <ashmit602@gmail.com>
    
        
file modified
+4 -2