summary refs log tree commit diff stats
path: root/include/hw/qdev-properties.h
diff options
context:
space:
mode:
authorMatthias Weckbecker <matthias@weckbecker.name>2018-12-10 14:00:48 +0100
committerMichael S. Tsirkin <mst@redhat.com>2018-12-19 16:48:16 -0500
commite7176cdbe4d5e4b68459af741d6493886e4dad29 (patch)
tree11d7cb3284f97a77cb6223d8a943b666ba957273 /include/hw/qdev-properties.h
parenta2eb5c0cf7cc77736219015b840c5299499b1357 (diff)
downloadfocaccia-qemu-e7176cdbe4d5e4b68459af741d6493886e4dad29.tar.gz
focaccia-qemu-e7176cdbe4d5e4b68459af741d6493886e4dad29.zip
hw/pci-bridge: Fix invalid free()
When loadvm'ing a *running* snapshot qemu crashes due to an invalid
free. It's fortunately caught early by glibc heap memory corruption
protection and qemu gets killed with SIGABRT.

Steps to reproduce:

1) Create VM (e.g w/ virsh define)
2) Start the VM and take a snapshot while it's running and having a
   PCI bridge attached
3) Destroy the VM and revert the running snapshot.

This commit fixes the issue.

Signed-off-by: Matthias Weckbecker <matthias@weckbecker.name>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/qdev-properties.h')
0 files changed, 0 insertions, 0 deletions