New Defects reported by Coverity Scan for libvirt
scan-admin at coverity.com
scan-admin at coverity.com
Mon Feb 22 09:21:02 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.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 314567: Memory - illegal accesses (USE_AFTER_FREE)
________________________________________________________________________________________________________
*** CID 314567: Memory - illegal accesses (USE_AFTER_FREE)
/src/qemu/qemu_migration.c: 858 in qemuMigrationSrcCancelRemoveTempBitmaps()
852 for (next = jobPriv->migTempBitmaps; next; next = next->next) {
853 qemuDomainJobPrivateMigrateTempBitmapPtr t = next->data;
854
855 if (qemuDomainObjEnterMonitorAsync(driver, vm, asyncJob) < 0)
856 return -1;
857 qemuMonitorBitmapRemove(priv->mon, t->nodename, t->bitmapname);
>>> CID 314567: Memory - illegal accesses (USE_AFTER_FREE)
>>> Calling "qemuDomainObjExitMonitor" dereferences freed pointer "driver->config".
858 if (qemuDomainObjExitMonitor(driver, vm) < 0)
859 return -1;
860 }
861
862 return 0;
863 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqXyKjvBooc6PgQklkMPQjdETL0zD-2BwwS2MT3CUz0PGk4uLnDSo8-2B2mZ3lSeSytwjA-3D1waD_CkO38-2FnXVYPAlDbR1ZxdHNqvqoSWeUuqu9763V-2FVMwzuieXWiMxMUBJgzn1aS3hfs6AHhTC-2B4jKGKkLW82lPiZI617KeEczfXtGgpOgMBc3cPuXNJLcN8KZCsaA-2BEBuPuiAQqCTEsP7-2BbR4GXBoLP9cRpbbXs4JFLJFjovt900JFaT8-2Fba1mkCkcyoymhvJq6uuJ54t86Vw2Dneo2Bp9m6WrZ9-2BVHyIJl7iAzyTNUJQ-3D
More information about the Libvirt-ci
mailing list