libvirt/tools
Ján Tomko d46dd75e3a virsh-completer: use VIR_AUTOSTRINGLIST for tmp
We've been open-coding virStringListFreeCount for cleaning up
the completion list we're building. This had the advantage of
zeoring the pointer afterwards, which is no longer needed
now that we compile the list in 'tmp' instead of 'ret'.

Since all our lists are NULL-terminated anyway, switch to using
virStringListFree via the VIR_AUTOSTRINGLIST macro.

Fixes nearly impossible NULL dereferences in
  virshNWFilterBindingNameCompleter
  virshNWFilterNameCompleter
  virshNodeDeviceNameCompleter
  virshNetworkNameCompleter
  virshInterfaceNameCompleter
  virshStoragePoolNameCompleter
  virshDomainNameCompleter
which jumped on the error label after a failed allocation
and a possible one in
  virshStorageVolNameCompleter
which jumped there when we fail to fetch the list of volumes.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
2019-04-03 10:24:06 +02:00
..
bash-completion tools: Provide bash autompletion file 2018-01-11 18:53:04 +01:00
nss Use virStringHasSuffix() where possible 2019-03-07 10:10:49 +01:00
wireshark tools: Drop support for pre-2.4.0 wireshark 2019-02-12 09:22:59 +01:00
libvirt_recover_xattrs.sh tools: Provide a script to recover fubar'ed XATTRs setup 2018-12-19 15:32:45 +01:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt-guests.service.in Use https:// links for most sites 2017-10-16 10:22:34 +01:00
libvirt-guests.sh.in tools: do not report unknown guests in print_guests_shutdown 2018-04-24 10:46:41 +02:00
libvirt-guests.sysconf lxc: allow use of lxc:///system URI as preferred format 2018-04-12 16:52:01 +01:00
Makefile.am Drop support for "Red Hat" init scripts 2019-03-15 18:36:19 +01:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh-completer.c virsh-completer: use VIR_AUTOSTRINGLIST for tmp 2019-04-03 10:24:06 +02:00
virsh-completer.h virsh: Add event name completion to 'network-event' command 2019-03-05 09:09:48 +01:00
virsh-console.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virsh-console.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsh-domain-monitor.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
virsh-domain-monitor.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-domain.c virsh: fix indentation of info_managed_save_edit 2019-04-03 10:07:36 +02:00
virsh-domain.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-edit.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-host.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-host.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-interface.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-interface.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-network.c virsh: Add event name completion to 'network-event' command 2019-03-05 09:09:48 +01:00
virsh-network.h virsh-network: Introduce virshNetworkEventCallback to handle network events 2019-03-05 09:09:48 +01:00
virsh-nodedev.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
virsh-nodedev.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-nwfilter.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-nwfilter.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-pool.c virsh-pool: Offer only active pool for pool-refresh completer 2019-03-16 07:50:51 +01:00
virsh-pool.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-secret.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
virsh-secret.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-snapshot.c snapshot: Refactor list filtering 2019-03-22 01:18:33 -05:00
virsh-snapshot.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh-util.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
virsh-util.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsh-volume.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
virsh-volume.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virsh.pod tools: Tweak wording for iothreadset 2019-03-30 07:34:34 -04:00
virt-admin-completer.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virt-admin-completer.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virt-admin.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
virt-admin.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virt-admin.pod virsh: Treat any command name starting with # as comment 2019-03-25 09:01:53 -05:00
virt-host-validate-bhyve.c internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
virt-host-validate-bhyve.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virt-host-validate-common.c tools/virt-host-validate: Fix IOMMU check on s390x 2019-03-08 09:16:00 +01:00
virt-host-validate-common.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virt-host-validate-lxc.c virt-host-validate: require freezer for LXC 2018-10-05 15:53:29 +02:00
virt-host-validate-lxc.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virt-host-validate-qemu.c virt-host-validate: rewrite cgroup detection to use util/vircgroup 2018-10-05 15:53:29 +02:00
virt-host-validate-qemu.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virt-host-validate.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virt-host-validate.pod Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virt-login-shell.c Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00
virt-login-shell.conf virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01:00
virt-login-shell.pod Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virt-pki-validate.in tools: rename S_ORG to C_ORG in virt-pki-validate 2018-12-11 14:58:43 +00:00
virt-pki-validate.pod Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virt-sanlock-cleanup.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-sanlock-cleanup.pod Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virt-xml-validate.in tools/virt-xml-validate: Fix GPL information 2019-01-25 14:04:19 +01:00
virt-xml-validate.pod virt-xml-validate: Add schema for nwfilterbinding 2018-07-19 16:16:57 -04:00
vsh-table.c vsh-table: allow empty columns 2019-02-12 10:14:53 +01:00
vsh-table.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
vsh.c virsh: Add 'echo --err' option 2019-03-25 09:02:02 -05:00
vsh.h Remove even more Author(s): lines from source files 2019-01-03 13:24:18 +01:00