[libvirt] [PATCH v8 07/14] conf: use virXMLFormatElement() in virDomainDeviceInfoFormat()
Andrea Bolognani
abologna at redhat.com
Fri Nov 16 16:23:14 UTC 2018
On Fri, 2018-11-16 at 07:43 -0500, John Ferlan wrote:
> On 11/8/18 6:00 AM, Yi Min Zhao wrote:
[...]
> > @@ -6556,7 +6558,9 @@ virDomainDeviceInfoFormat(virBufferPtr buf,
> > break;
> > }
> >
> > - virBufferAddLit(buf, "/>\n");
> > + virXMLFormatElement(buf, "address", &attrBuf, NULL);
>
> Coverity complains this morning that this doesn't check the status of
> the call to virXMLFormatElement like is done for other callers in this
> module.
Both this issue and the other one you reported are addressed by
https://www.redhat.com/archives/libvir-list/2018-November/msg00685.html
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list