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 315315: Memory - illegal accesses (USE_AFTER_FREE)
________________________________________________________________________________________________________
*** CID 315315: Memory - illegal accesses (USE_AFTER_FREE)
/src/qemu/qemu_hotplug.c: 2364 in qemuDomainAttachRNGDevice()
2358 exit_monitor:
2359 virErrorPreserveLast(&orig_err);
2360 if (objAlias)
2361 ignore_value(qemuMonitorDelObject(priv->mon, objAlias, false));
2362 if (rng->backend == VIR_DOMAIN_RNG_BACKEND_EGD && chardevAdded)
2363 ignore_value(qemuMonitorDetachCharDev(priv->mon, charAlias));
>> CID 315315: Memory - illegal accesses (USE_AFTER_FREE)
>> Calling "qemuDomainObjExitMonitor" dereferences freed pointer
"driver->config".
2364 if (qemuDomainObjExitMonitor(driver, vm)
< 0)
2365 releaseaddr = false;
2366 virErrorRestore(&orig_err);
2367
2368 qemuDomainDelTLSObjects(driver, vm, QEMU_ASYNC_JOB_NONE,
2369 secAlias, tlsAlias);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my...