diff options
author | Peter Maydell | 2020-11-13 11:49:29 +0100 |
---|---|---|
committer | Peter Maydell | 2020-11-13 11:49:29 +0100 |
commit | b0f8c22d6d4d07f3bd2307bcc62e1660ef965472 (patch) | |
tree | 48758af04048e734de0a97ea34432147f326eb0e /hw | |
parent | Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20201112a'... (diff) | |
parent | Fix use after free in vfio_migration_probe (diff) | |
download | qemu-b0f8c22d6d4d07f3bd2307bcc62e1660ef965472.tar.gz qemu-b0f8c22d6d4d07f3bd2307bcc62e1660ef965472.tar.xz qemu-b0f8c22d6d4d07f3bd2307bcc62e1660ef965472.zip |
Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20201112.0' into staging
VFIO update 2020-11-12
* Fix coverity reported use-after-free (Kirti Wankhede)
# gpg: Signature made Thu 12 Nov 2020 23:00:13 GMT
# gpg: using RSA key 239B9B6E3BB08B22
# gpg: Good signature from "Alex Williamson <alex.williamson@redhat.com>" [full]
# gpg: aka "Alex Williamson <alex@shazbot.org>" [full]
# gpg: aka "Alex Williamson <alwillia@redhat.com>" [full]
# gpg: aka "Alex Williamson <alex.l.williamson@gmail.com>" [full]
# Primary key fingerprint: 42F6 C04E 540B D1A9 9E7B 8A90 239B 9B6E 3BB0 8B22
* remotes/awilliam/tags/vfio-update-20201112.0:
Fix use after free in vfio_migration_probe
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/vfio/migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c index 3ce285ea39..55261562d4 100644 --- a/hw/vfio/migration.c +++ b/hw/vfio/migration.c @@ -897,8 +897,8 @@ int vfio_migration_probe(VFIODevice *vbasedev, Error **errp) goto add_blocker; } - g_free(info); trace_vfio_migration_probe(vbasedev->name, info->index); + g_free(info); return 0; add_blocker: |