New Defects reported by Coverity Scan for libvirt

Hi, Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan. 1 new defect(s) introduced to libvirt found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 403548: Null pointer dereferences (REVERSE_INULL) /tests/commandtest.c: 75 in checkoutput() ________________________________________________________________________________________________________ *** CID 403548: Null pointer dereferences (REVERSE_INULL) /tests/commandtest.c: 75 in checkoutput() 69 goto cleanup; 70 } 71 72 ret = virTestCompareToFile(actuallog, expectname); 73 74 cleanup:
CID 403548: Null pointer dereferences (REVERSE_INULL) Null-checking "actualname" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
75 if (actualname) 76 unlink(actualname); 77 return ret; 78 } 79 80 /*
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com