Hi,
Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan.
** CID 912945: Null pointer dereferences (FORWARD_NULL)
_____________________________________________________________________________________________
*** CID 912945: Null pointer dereferences (FORWARD_NULL)
/src/hypervisor/qemu_agent.c: 2880 in qemuAgentGetGuestDeviceInfo()
2874 return -1;
2875
2876 if ((rc = qemuAgentCommandFull(agent, cmd, &reply, agent->timeout,
2877 report_unsupported)) < 0)
2878 return rc;
2879
>>> CID 912945: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "reply" to "virJSONValueObjectGetArray", which dereferences it.
2880 if (!(data = virJSONValueObjectGetArray(reply, "return"))) {
2881 virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
2882 _("qemu agent didn't return an array of devices"));
2883 return -1;
2884 }
2885
Best regards,
The Coverity Scan Admin Team