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 480361: Memory - illegal accesses (USE_AFTER_FREE) /src/qemu/qemu_process.c: 1418 in qemuProcessHandleNetdevVhostUserDisconnected() ________________________________________________________________________________________________________ *** CID 480361: Memory - illegal accesses (USE_AFTER_FREE) /src/qemu/qemu_process.c: 1418 in qemuProcessHandleNetdevVhostUserDisconnected() 1412 VIR_DEBUG("Device %s Netdev vhost-user Disconnected in domain %p %s", 1413 devAlias, vm, vm->def->name); 1414 1415 qemuProcessEventSubmit(vm, QEMU_PROCESS_EVENT_NETDEV_VHOST_USER_DISCONNECTED, 1416 0, 0, g_strdup(devAlias)); 1417
CID 480361: Memory - illegal accesses (USE_AFTER_FREE) Calling "virObjectUnlock" dereferences freed pointer "vm". (The dereference is assumed on the basis of the "nonnull" parameter attribute.)
1418 virObjectUnlock(vm); 1419 } 1420 1421 1422 static void 1423 qemuProcessHandleNicRxFilterChanged(qemuMonitor *mon G_GNUC_UNUSED,
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libvirt?tab=overview
participants (1)
-
scan-admin@coverity.com