New Defects reported by Coverity Scan for libvirt
scan-admin at coverity.com
scan-admin at coverity.com
Fri Mar 12 09:19:38 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 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-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yqXyKjvBooc6PgQklkMPQjdETL0zD-2BwwS2MT3CUz0PGk4uLnDSo8-2B2mZ3lSeSytwjA-3DwjY-_CkO38-2FnXVYPAlDbR1ZxdHNqvqoSWeUuqu9763V-2FVMwwgeKMnV-2FOebGNrugIFY21UIOFu-2FCqUlrt16QjjUgARcRpEYl4W5lMWvYm6Vhhi1beW3K5Piqr0LzE63yiQ5gLZgASDOQsCZPFKygiJf82XLQLlC2hmZ-2FScn-2BdAHd3ml8J5-2F9wIhaIFWuD0Nht1CLmGL8mX-2Bk0LGN8Ou17T6fnxSQmI1OUPEJOhq4z6YIeAdsw-3D
More information about the Libvirt-ci
mailing list