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 909725: Null pointer dereferences (FORWARD_NULL) /tools/vsh.c: 2148 in vshPrintStderr() _____________________________________________________________________________________________ *** CID 909725: Null pointer dereferences (FORWARD_NULL) /tools/vsh.c: 2148 in vshPrintStderr() 2142 2143 str = g_strdup_vprintf(format, ap); 2144 2145 if (ctl) 2146 vshOutputLogFile(ctl, level, str); 2147
CID 909725: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "ctl".
2148 if (ctl->stderr_closed) 2149 return; 2150 2151 /* Most output is to stdout, but if someone ran virsh 2>&1, then 2152 * printing to stderr will not interleave correctly with stdout 2153 * unless we flush between every transition between streams. */
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libvirt?tab=overview
participants (1)
-
scan-admin@coverity.com