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 466572: Memory - illegal accesses (USE_AFTER_FREE)
/src/qemu/qemu_process.c: 8442 in qemuProcessInShutdownPidfdCb()
________________________________________________________________________________________________________
*** CID 466572: Memory - illegal accesses (USE_AFTER_FREE)
/src/qemu/qemu_process.c: 8442 in qemuProcessInShutdownPidfdCb()
8436 (long long)vm->pid);
8437
8438 QEMU_DOMAIN_PRIVATE(vm)->pidMonitored = -1;
8439 qemuProcessEventSubmit(vm, QEMU_PROCESS_EVENT_SHUTDOWN_COMPLETED,
8440 0, 0, NULL);
8441
>>> CID 466572: Memory - illegal accesses (USE_AFTER_FREE)
>>> Calling "virObjectUnlock" dereferences freed pointer "vm". (The dereference is assumed on the basis of the "nonnull" parameter attribute.)
8442 virObjectUnlock(vm);
8443 }
8444 #endif /* WITH_SYS_SYSCALL_H && defined(SYS_pidfd_open) */
8445
8446
8447 static int
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy...