summaryrefslogtreecommitdiffstats
path: root/include/hw/pci/pci.h
diff options
context:
space:
mode:
authorMatthias Weckbecker2018-12-10 14:00:48 +0100
committerMichael S. Tsirkin2018-12-19 22:48:16 +0100
commite7176cdbe4d5e4b68459af741d6493886e4dad29 (patch)
tree11d7cb3284f97a77cb6223d8a943b666ba957273 /include/hw/pci/pci.h
parenthw/smbios: Move to the hw/firmware/ subdirectory (diff)
downloadqemu-e7176cdbe4d5e4b68459af741d6493886e4dad29.tar.gz
qemu-e7176cdbe4d5e4b68459af741d6493886e4dad29.tar.xz
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/pci/pci.h')
0 files changed, 0 insertions, 0 deletions