libvirt/src/conf
John Ferlan ca1f385457 conf: Fix leak in virNodeDeviceDefParseXML
The 'nodes' is overwritten after the first usage and possibly leaked
if any code in the first set of parsing goes to error.

Found by Coverity.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2017-02-27 17:04:33 -05:00
..
capabilities.c conf: add net device prefix to capabilities 2016-02-04 11:15:51 +00:00
capabilities.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
cpu_conf.c Avoid compiler warnings in virCPUDefStealModel 2016-11-16 09:04:51 +01:00
cpu_conf.h cpu: Avoid adding <vendor> to custom CPUs 2016-11-15 15:49:16 +01:00
device_conf.c util: move virInterface(State|Link)/virNetDevFeature from conf to util 2016-06-26 19:33:07 -04:00
device_conf.h qemu: new functions to calculate/set device pciConnectFlags 2016-11-14 14:05:03 -05:00
domain_addr.c conf: Make switch statements more strict 2017-02-22 18:55:55 +01:00
domain_addr.h conf: move VIR_DOMAIN_USB_HUB_PORTS to the header file 2017-01-31 13:09:08 +01:00
domain_audit.c conf: Wire up the vhost-scsi connection from/to XML 2016-11-24 12:22:25 -05:00
domain_audit.h audit: Audit information about shmem devices 2016-09-12 19:41:43 +02:00
domain_capabilities.c qemu: Avoid reporting "host" as a supported CPU model 2016-11-25 20:59:19 +01:00
domain_capabilities.h qemu: Avoid reporting "host" as a supported CPU model 2016-11-25 20:59:19 +01:00
domain_conf.c Add ATTRIBUTE_FALLTHROUGH for switch cases without break 2017-02-23 10:11:16 +00:00
domain_conf.h conf: remove redundant iothreads variable 2017-02-20 17:30:55 +01:00
domain_event.c Add domain event for metadata changes 2017-01-09 15:53:00 +00:00
domain_event.h Add domain event for metadata changes 2017-01-09 15:53:00 +00:00
domain_nwfilter.c Remove use of nwfilterPrivateData from nwfilter driver 2015-01-27 12:02:03 +00:00
domain_nwfilter.h Remove use of nwfilterPrivateData from nwfilter driver 2015-01-27 12:02:03 +00:00
interface_conf.c global: consistently use IP rather than Ip in identifiers 2016-06-26 19:33:07 -04:00
interface_conf.h global: consistently use IP rather than Ip in identifiers 2016-06-26 19:33:07 -04:00
netdev_bandwidth_conf.c virNetDevBandwidthParseRate: Reject negative values 2015-08-10 13:47:48 +02:00
netdev_bandwidth_conf.h qemu: add udp interface support 2015-09-02 10:17:50 +02:00
netdev_vlan_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vlan_conf.h maint: avoid 'const fooPtr' in conf 2013-10-14 14:34:38 -06:00
netdev_vport_profile_conf.c docs: schema and docs for the midonet virtualport type 2015-03-17 13:09:05 -04:00
netdev_vport_profile_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
network_conf.c Add ATTRIBUTE_FALLTHROUGH for switch cases without break 2017-02-23 10:11:16 +00:00
network_conf.h conf: support configuring mtu size in a virtual network 2017-02-07 13:52:06 -05:00
network_event.c events: Add explicit lookup 'key' value 2016-07-01 07:15:38 -04:00
network_event.h event: move event filtering to daemon (regression fix) 2014-02-05 08:03:31 -07:00
networkcommon_conf.c util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
networkcommon_conf.h util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
node_device_conf.c conf: Fix leak in virNodeDeviceDefParseXML 2017-02-27 17:04:33 -05:00
node_device_conf.h nodedev: Rework virNodeDeviceGetParentHost 2017-02-19 06:45:09 -05:00
node_device_event.c Introduce node device update event as top level event 2016-08-15 08:30:56 -04:00
node_device_event.h Introduce node device update event as top level event 2016-08-15 08:30:56 -04:00
numa_conf.c qemu, conf: Rename virNumaMemAccess to virDomainMemoryAccess 2017-02-09 14:27:19 +01:00
numa_conf.h qemu, conf: Rename virNumaMemAccess to virDomainMemoryAccess 2017-02-09 14:27:19 +01:00
nwfilter_conf.c Use virDirOpenIfExists 2016-06-24 14:20:57 +02:00
nwfilter_conf.h nwfilter: Save config to disk if we generated a UUID 2016-05-02 10:06:04 -04:00
nwfilter_ipaddrmap.c Remove pointless storage of var names in virNWFilterHashTable 2014-04-25 15:44:09 +01:00
nwfilter_ipaddrmap.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_params.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
nwfilter_params.h nwfilter: Change 'index' to 'idx' 2015-04-14 11:18:28 -04:00
object_event_private.h conf: events: Fix coverity warning 2016-08-03 18:45:50 -04:00
object_event.c Clean timer in virObjectEventStateFlush 2016-10-12 12:54:47 +02:00
object_event.h Change virDomainEventState to virObjectLockable 2016-10-12 12:54:47 +02:00
secret_conf.c conf: simplify internal virSecretDef handling of usage 2017-01-09 15:53:49 +00:00
secret_conf.h conf: simplify internal virSecretDef handling of usage 2017-01-09 15:53:49 +00:00
secret_event.c secret: add support for value change events 2017-01-09 16:42:04 +00:00
secret_event.h secret: add support for value change events 2017-01-09 16:42:04 +00:00
snapshot_conf.c qemu: block copy: Forbid block copy to relative paths 2016-12-16 18:30:39 +01:00
snapshot_conf.h conf: add caps to virDomainSnapshotDefFormat 2016-02-05 10:57:39 +00:00
storage_conf.c conf: Cleanup matchFCHostToSCSIHost 2017-02-21 10:52:20 -05:00
storage_conf.h util: Replace virStoragePoolGetVhbaSCSIHostParent 2017-02-19 06:45:09 -05:00
storage_event.c events: Add explicit lookup 'key' value 2016-07-01 07:15:38 -04:00
storage_event.h Promote storage pool refresh lifecycle event to top level event 2016-06-24 18:26:11 +01:00
virchrdev.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
virchrdev.h conf: Add unix socket support to virChrdevOpen 2013-01-04 18:07:11 -07:00
virdomainobjlist.c virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
virdomainobjlist.h libxl: fix vm lock overwritten bug 2016-06-13 13:34:37 +02:00
virsecretobj.c conf: simplify internal virSecretDef handling of usage 2017-01-09 15:53:49 +00:00
virsecretobj.h secret: Introduce virSecretObjGetValue and virSecretObjGetValueSize 2016-04-25 15:45:29 -04:00