libvirt/src/xenxs
Eric Blake 430156cf32 build: add compiler attributes to virUUIDParse
Coverity complained that most, but not all, clients of virUUIDParse
were checking for errors.  Silence those coverity warnings by
explicitly marking the cases where we trust the input, and fixing
one instance that really should have been checking.  In particular,
this silences a rather large percentage of the warnings I saw on my
most recent Coverity analysis run.

* src/util/uuid.h (virUUIDParse): Enforce rules.
* src/util/uuid.c (virUUIDParse): Drop impossible check; at least
Coverity will detect if we break rules and pass NULL.
* src/xenapi/xenapi_driver.c (xenapiDomainCreateXML)
(xenapiDomainLookupByID, xenapiDomainLookupByName)
(xenapiDomainDefineXML): Ignore return when we trust data source.
* src/vbox/vbox_tmpl.c (nsIDtoChar, vboxIIDToUUID_v3_x)
(vboxCallbackOnMachineStateChange)
(vboxCallbackOnMachineRegistered, vboxStoragePoolLookupByName):
Likewise.
* src/node_device/node_device_hal.c (gather_system_cap): Likewise.
* src/xenxs/xen_sxpr.c (xenParseSxpr): Check for errors.
2011-10-13 12:23:37 -06:00
..
xen_sxpr.c build: add compiler attributes to virUUIDParse 2011-10-13 12:23:37 -06:00
xen_sxpr.h build: avoid ATTRIBUTE_UNUSED in headers 2011-07-14 07:51:30 -06:00
xen_xm.c xen: add error handling to UUID parsing 2011-10-10 22:57:41 +02:00
xen_xm.h Renamed functions in xenxs 2011-02-21 11:15:08 -07:00
xenxs_private.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00