vfio-pci: Fix use after free
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 8 Apr 2015 14:11:51 +0000 (08:11 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 8 Apr 2015 14:11:51 +0000 (08:11 -0600)
commit5a0ff17741c1785b27229a16b5ab77470d71b170
tree9dc54676f580c440444e92c65013896d1572c6be
parent6eb7018705de09b4138ca05d6a157203e0ea791a
vfio-pci: Fix use after free

Reported by 0-day test infrastructure.

Fixes: ecaa1f6a0154 ("vfio-pci: Add VGA arbiter client")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c