New Defects reported by Coverity Scan for libvirt

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 314898: Memory - illegal accesses (USE_AFTER_FREE) ________________________________________________________________________________________________________ *** CID 314898: Memory - illegal accesses (USE_AFTER_FREE) /src/qemu/qemu_migration.c: 3422 in qemuMigrationSrcConfirmPhase() 3416 */ 3417 if (retcode == 0) { 3418 /* If guest uses SPICE and supports seamless migration we have to hold 3419 * up domain shutdown until SPICE server transfers its data */ 3420 qemuMigrationSrcWaitForSpice(vm); 3421
CID 314898: Memory - illegal accesses (USE_AFTER_FREE) Calling "qemuProcessStop" dereferences freed pointer "driver->config".
3422 qemuProcessStop(driver, vm, VIR_DOMAIN_SHUTOFF_MIGRATED, 3423 QEMU_ASYNC_JOB_MIGRATION_OUT, 3424 VIR_QEMU_PROCESS_STOP_MIGRATED); 3425 virDomainAuditStop(vm, "migrated"); 3426 3427 event = virDomainEventLifecycleNewFromObj(vm,
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com