New Defects reported by Coverity Scan for libvirt

scan-admin at coverity.com scan-admin at coverity.com
Tue Apr 13 08:50:22 UTC 2021


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-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqXyKjvBooc6PgQklkMPQjdETL0zD-2BwwS2MT3CUz0PGk4uLnDSo8-2B2mZ3lSeSytwjA-3DWz56_CkO38-2FnXVYPAlDbR1ZxdHNqvqoSWeUuqu9763V-2FVMwzg1iy6XDWr-2BEOqgo91j-2BswR3zPabIGjy-2BJYSpn-2BJ-2F236H5NXLl8BCd0nLjF6PFJDrsYwJQtav6fMxi7koMxxyxexfb-2B8UPq9DzK-2B42Wxzr-2FbhPoua1LIRDq9BMkbK7DZ8T6e57Ekg-2BhwuHdlKhDjL5ucQPIgOgneJ-2FzwFbDdrLRbyFrf-2BEMThbILrt3naFyFI-3D




More information about the Libvirt-ci mailing list