qemu-e2k/hw/vfio
Kirti Wankhede e408aeef86 Fix use after free in vfio_migration_probe
Fixes Coverity issue:
CID 1436126:  Memory - illegal accesses  (USE_AFTER_FREE)

Fixes: a9e271ec9b ("vfio: Add migration region initialization and finalize function")
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: David Edmondson <dme@dme.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2020-11-12 15:58:16 -07:00
..
amd-xgbe.c
ap.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
calxeda-xgmac.c
ccw.c vfio-ccw: plug memory leak while getting region info 2020-10-02 13:52:49 +02:00
common.c vfio: Don't issue full 2^64 unmap 2020-11-03 16:39:05 -05:00
display.c
igd.c
Kconfig
meson.build vfio: Add migration region initialization and finalize function 2020-11-01 12:30:50 -07:00
migration.c Fix use after free in vfio_migration_probe 2020-11-12 15:58:16 -07:00
pci-quirks.c meson: infrastructure for building emulators 2020-08-21 06:30:17 -04:00
pci.c vfio: Make vfio-pci device migration capable 2020-11-01 12:30:51 -07:00
pci.h vfio: Make vfio-pci device migration capable 2020-11-01 12:30:51 -07:00
platform.c hw/vfio: Use lock guard macros 2020-11-01 12:30:52 -07:00
spapr.c
trace-events vfio: Dirty page tracking when vIOMMU is enabled 2020-11-01 12:30:51 -07:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00