libvirt/src/qemu
John Ferlan 11e8d37c4b qemu: Fix possible NULL deref in qemuDomainSaveImageStartVM
Commit 075523438 added a direct reference to @cookie even though
it may be NULL as shown by a comment a few lines previous - so add
the check here as well.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-11-06 11:27:12 -05:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug qemu-conf: add configurable slirp-helper location 2019-09-06 12:47:47 +02:00
Makefile.inc.am build: fix use of $(AUG_GENTEST) as a dependency 2019-10-18 13:54:03 +01:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_agent.h qemu: add helper for getting full FSInfo 2019-08-26 17:27:40 +02:00
qemu_alias.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_alias.h qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_block.c qemu: block: Don't query monitor in qemuBlockStorageSourceCreateDetectSize 2019-10-21 16:53:42 +02:00
qemu_block.h qemu: block: Don't query monitor in qemuBlockStorageSourceCreateDetectSize 2019-10-21 16:53:42 +02:00
qemu_blockjob.c qemu: blockjob: Use 'g_free' in qemuBlockJobDataDispose 2019-10-24 19:35:34 +02:00
qemu_blockjob.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_capabilities.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
qemu_capabilities.h src: add support for g_autoptr with virObject instances 2019-10-14 10:54:42 +01:00
qemu_capspriv.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
qemu_cgroup.c qemu_cgroup: Teardown Cgroup for more host device types 2019-10-21 13:50:24 +02:00
qemu_cgroup.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_checkpoint.c qemu: checkpoint: Extract finalizing steps of checkpoint creation 2019-10-24 19:35:34 +02:00
qemu_checkpoint.h qemu: checkpoint: Extract finalizing steps of checkpoint creation 2019-10-24 19:35:34 +02:00
qemu_command.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
qemu_command.h qemuBuildHostNetStr: remove unused 'driver' argument 2019-09-18 11:33:17 +02:00
qemu_conf.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_conf.h src: add support for g_autoptr with virObject instances 2019-10-14 10:54:42 +01:00
qemu_dbus.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_dbus.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
qemu_domain_address.c domain_conf: Make virDomainDeviceFindSCSIController accept virDomainDeviceDriveAddress struct 2019-10-23 10:27:43 +02:00
qemu_domain_address.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_domain.c util: xml: Make virXMLFormatElement void 2019-10-24 19:35:34 +02:00
qemu_domain.h qemu: domain: Remove pointless return value in qemuDomainPrepareDiskSourceData 2019-10-21 16:29:05 +02:00
qemu_driver.c qemu: Fix possible NULL deref in qemuDomainSaveImageStartVM 2019-11-06 11:27:12 -05:00
qemu_driver.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_extdevice.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
qemu_extdevice.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_firmware.c Drop needless ret variable 2019-10-24 08:10:37 +02:00
qemu_firmware.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
qemu_hostdev.c qemu_hostdev: Introduce qemuHostdevNeedsVFIO() 2019-10-21 13:50:24 +02:00
qemu_hostdev.h qemu_hostdev: Introduce qemuHostdevNeedsVFIO() 2019-10-21 13:50:24 +02:00
qemu_hotplug.c qemu: Replace use of virDomainDiskFindByBusAndDst with virDomainDiskByTarget 2019-10-21 16:29:05 +02:00
qemu_hotplug.h qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_hotplugpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_interface.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_interface.h qemu-process: prepare slirp-helper 2019-09-06 12:47:47 +02:00
qemu_interop_config.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_interop_config.h qemu: generalize qemuFetchConfigs 2019-09-24 12:17:10 -04:00
qemu_migration_cookie.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
qemu_migration_cookie.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_params.c qemu: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:57 +02:00
qemu_migration_params.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
qemu_migration_paramspriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration.c Replace virDomainDiskByName by virDomainDiskByTarget in appropriate cases 2019-10-21 16:29:18 +02:00
qemu_migration.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_monitor_json.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
qemu_monitor_json.h qemu: monitor: Add helper for generating data for block bitmap merging 2019-10-24 19:35:34 +02:00
qemu_monitor_priv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_monitor_text.c qemu: monitor: Remove qemuMonitorHMPCommand in favor of qemuMonitorJSONHumanCommand 2019-09-20 08:41:50 +02:00
qemu_monitor_text.h qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor.c qemu: monitor: Add helper for generating data for block bitmap merging 2019-10-24 19:35:34 +02:00
qemu_monitor.h qemu: monitor: Add helper for generating data for block bitmap merging 2019-10-24 19:35:34 +02:00
qemu_process.c Drop needless ret variable 2019-10-24 08:10:37 +02:00
qemu_process.h qemu: fix build with musl libc 2019-10-17 10:54:32 +02:00
qemu_processpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_qapi.c Remove all usage of VIR_RETURN_PTR 2019-10-16 15:59:41 +02:00
qemu_qapi.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_security.c security: Pass @migrated to virSecurityManagerSetAllLabel 2019-10-14 17:14:13 +02:00
qemu_security.h security: Pass @migrated to virSecurityManagerSetAllLabel 2019-10-14 17:14:13 +02:00
qemu_slirp.c Remove all usage of VIR_RETURN_PTR 2019-10-16 15:59:41 +02:00
qemu_slirp.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
qemu_tpm.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
qemu_tpm.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_vhost_user_gpu.c Use g_autoptr instead of VIR_AUTOUNREF 2019-10-16 12:06:44 +02:00
qemu_vhost_user_gpu.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_vhost_user.c Drop needless ret variable 2019-10-24 08:10:37 +02:00
qemu_vhost_user.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
qemu.conf qemu-conf: add configurable slirp-helper location 2019-09-06 12:47:47 +02:00
test_libvirtd_qemu.aug.in qemu-conf: add configurable slirp-helper location 2019-09-06 12:47:47 +02:00
THREADS.txt qemu: update threading info about domain object refs 2019-09-09 13:01:09 +02:00
virtqemud.service.in qemu: introduce virtqemud daemon 2019-08-09 14:06:31 +01:00