Hi,

Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.

Defect Details

** 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.  */

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team