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.
1 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 319140: Insecure data handling (TAINTED_SCALAR)
/src/qemu/qemu_interface.c: 361 in qemuCreateInBridgePortWithHelper()
________________________________________________________________________________________________________
*** CID 319140: Insecure data handling (TAINTED_SCALAR)
/src/qemu/qemu_interface.c: 361 in qemuCreateInBridgePortWithHelper()
355 *tapfd = -1;
356 goto cleanup;
357 }
358
359 do {
360 *tapfd = virSocketRecvFD(pair[0], 0);
>>> CID 319140: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "*tapfd" as a loop boundary.
361 } while (*tapfd < 0 && errno == EINTR);
362
363 if (*tapfd < 0) {
364 char *errstr = NULL;
365
366 if (!(cmdstr = virCommandToString(cmd, false)))
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my...