libvirt/src/conf
Ján Tomko 0a125c7144 virBufferTrim: do not accept len
Always trim the full specified suffix.

All of the callers outside of tests were passing either
strlen or the actual length of the string.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2020-02-03 19:44:38 +01:00
..
backup_conf.c Remove checking of return value of virHashNew 2020-01-31 14:28:28 +01:00
backup_conf.h conf: backup: Allow configuration of names exported via NBD 2020-01-24 13:40:48 +01:00
capabilities.c util: pull gnulib physmem impl into local code 2020-01-17 10:01:57 +00:00
capabilities.h Add a space before ending a comment 2020-01-30 12:32:03 +01:00
checkpoint_conf.c conf: drop virCapsPtr param from snapshot & checkpoint APIs 2019-12-09 10:17:27 +00:00
checkpoint_conf.h conf: drop virCapsPtr param from snapshot & checkpoint APIs 2019-12-09 10:17:27 +00:00
cpu_conf.c Add a space before ending a comment 2020-01-30 12:32:03 +01:00
cpu_conf.h conf: add support for specifying CPU "dies" parameter 2020-01-16 15:11:42 +00:00
device_conf.c Introducing new address type='unassigned' for PCI hostdevs 2019-12-18 13:08:27 -05:00
device_conf.h Introducing new address type='unassigned' for PCI hostdevs 2019-12-18 13:08:27 -05:00
domain_addr.c virBufferTrim: do not accept len 2020-02-03 19:44:38 +01:00
domain_addr.h
domain_audit.c conf: Add rng backend model builtin 2020-01-24 17:03:32 +01:00
domain_audit.h
domain_capabilities.c conf: domaincaps: Add 'backup' feature flag 2019-12-10 12:41:58 +01:00
domain_capabilities.h conf: domaincaps: Add 'backup' feature flag 2019-12-10 12:41:58 +01:00
domain_conf.c virBufferTrim: do not accept len 2020-02-03 19:44:38 +01:00
domain_conf.h conf: parse/format <teaming> subelement of <interface> 2020-01-29 15:33:29 -05:00
domain_event.c conf: remove NULL check from virDomainQemuMonitorEventNew 2019-11-21 12:44:23 +01:00
domain_event.h conf: remove NULL check from virDomainQemuMonitorEventNew 2019-11-21 12:44:23 +01:00
domain_nwfilter.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
domain_nwfilter.h
interface_conf.c conf: remove unneeded labels 2020-01-07 16:40:41 +01:00
interface_conf.h
Makefile.inc.am backup: Parse and output backup XML 2019-12-10 12:41:56 +01:00
moment_conf.c src: replace clock_gettime()/gettimeofday() with g_get_real_time() 2020-01-03 15:42:13 +00:00
moment_conf.h snapshot: Store both config and live XML in the snapshot domain 2019-09-11 13:09:45 +02:00
netdev_bandwidth_conf.c conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
netdev_bandwidth_conf.h conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
netdev_vlan_conf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
netdev_vlan_conf.h
netdev_vport_profile_conf.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
netdev_vport_profile_conf.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
network_conf.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
network_conf.h conf: network: use generic XML namespace types 2019-08-21 10:29:20 +02:00
network_event.c
network_event.h
networkcommon_conf.c conf: remove unneeded labels 2020-01-07 16:40:41 +01:00
networkcommon_conf.h
node_device_conf.c src: replace mdir_name() with g_path_get_dirname() 2020-01-03 15:42:13 +00:00
node_device_conf.h nodedev: Use autofree for more local variables 2020-01-23 10:04:22 +01:00
node_device_event.c
node_device_event.h
node_device_util.c conf: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
node_device_util.h
numa_conf.c numa_conf: add virDomainNumaNodesDistancesAreBeingSet() helper 2019-12-16 17:50:31 -05:00
numa_conf.h numa_conf: add virDomainNumaNodesDistancesAreBeingSet() helper 2019-12-16 17:50:31 -05:00
nwfilter_conf.c conf: remove unneeded labels 2020-01-07 16:40:41 +01:00
nwfilter_conf.h
nwfilter_ipaddrmap.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
nwfilter_ipaddrmap.h
nwfilter_params.c conf: remove unneeded labels 2020-01-07 16:40:41 +01:00
nwfilter_params.h
object_event_private.h
object_event.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
object_event.h
secret_conf.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
secret_conf.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
secret_event.c
secret_event.h
snapshot_conf_priv.h conf: snapshot: Provide a function to free virDomainSnapshotDiskDefPtr 2019-07-18 17:59:34 +02:00
snapshot_conf.c conf: Always format storage source auth and encryption under <source> for backing files 2020-01-13 12:53:58 +01:00
snapshot_conf.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
storage_adapter_conf.c
storage_adapter_conf.h
storage_capabilities.c conf: storagecaps: Fix broken attempt at being const-correct 2019-11-12 14:37:57 +01:00
storage_capabilities.h conf: storagecaps: Fix broken attempt at being const-correct 2019-11-12 14:37:57 +01:00
storage_conf.c storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storage_conf.h Add a space before ending a comment 2020-01-30 12:32:03 +01:00
storage_event.c
storage_event.h
virchrdev.c virchrdev: Drop needless 'cleanup' label in virChrdevLockFileCreate() 2020-01-16 14:13:47 +01:00
virchrdev.h
virconftypes.h backup: Parse and output backup XML 2019-12-10 12:41:56 +01:00
virdomaincheckpointobjlist.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virdomaincheckpointobjlist.h backup: Allow for lists of checkpoint objects 2019-07-26 16:48:58 -05:00
virdomainmomentobjlist.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virdomainmomentobjlist.h backup: Allow for lists of checkpoint objects 2019-07-26 16:48:58 -05:00
virdomainobjlist.c conf: drop virCapsPtr param from domain obj list APIs 2019-12-09 10:17:27 +00:00
virdomainobjlist.h conf: drop virCapsPtr param from domain obj list APIs 2019-12-09 10:17:27 +00:00
virdomainsnapshotobjlist.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
virdomainsnapshotobjlist.h snapshot: Don't leak moment obj list metaroot to callers 2019-07-24 17:03:34 -05:00
virinterfaceobj.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
virinterfaceobj.h
virnetworkobj.c conf: remove unneeded labels 2020-01-07 16:40:41 +01:00
virnetworkobj.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virnetworkportdef.c conf: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virnetworkportdef.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
virnodedeviceobj.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
virnodedeviceobj.h nodedev: acquire a pidfile in the driver root directory 2019-07-11 12:46:20 +01:00
virnwfilterbindingdef.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
virnwfilterbindingdef.h
virnwfilterbindingobj.c conf: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virnwfilterbindingobj.h
virnwfilterbindingobjlist.c conf: use G_GNUC_UNUSED 2019-10-15 11:25:22 +02:00
virnwfilterbindingobjlist.h
virnwfilterobj.c conf: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:56 +02:00
virnwfilterobj.h nwfilter: acquire a pidfile in the driver root directory 2019-07-11 12:46:20 +01:00
virsavecookie.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
virsavecookie.h
virsecretobj.c conf: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virsecretobj.h
virstorageobj.c conf: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virstorageobj.h storage_driver: Protect pool def during startup and build 2019-08-23 09:32:26 +02:00