New Defects reported by Coverity Scan for libvirt
by scan-admin@coverity.com
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.
2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 449892: Control flow issues (STRAY_SEMICOLON)
/tests/virshtest.c: 314 in mymain()
________________________________________________________________________________________________________
*** CID 449892: Control flow issues (STRAY_SEMICOLON)
/tests/virshtest.c: 314 in mymain()
308 /* comprehensive coverage of argument assignment */
309 DO_TEST_SCRIPT("argument-assignment", NULL, VIRSH_DEFAULT, "-k0", "-d0");
310 DO_TEST_SCRIPT("snapshot-create-args", NULL, VIRSH_DEFAULT, "-q");
311 DO_TEST_SCRIPT("numeric-parsing", NULL, VIRSH_DEFAULT);
312 /* The 'numeric-parsing-event' invokes virsh event with a 1 second timeout,
313 * thus is marked expensive */
>>> CID 449892: Control flow issues (STRAY_SEMICOLON)
>>> A "while" statement with no block followed by ";" on the same line is suspicious.
314 DO_TEST_SCRIPT_FULL("numeric-parsing-event", true, NULL, VIRSH_DEFAULT);
315 DO_TEST_SCRIPT("attach-disk", NULL, VIRSH_DEFAULT);
316 DO_TEST_SCRIPT("vcpupin", NULL, VIRSH_DEFAULT);
317 DO_TEST_SCRIPT("lifecycle", "\nCPU time:", VIRSH_CUSTOM);
318
319 DO_TEST_FULL("domain-id-overflow", NULL, VIRSH_CUSTOM, "-q", "domname", "4294967298");
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy...