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.
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-2F2Czv4BOaCWWCy7my...