Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migration/ram: fix use after free of local_err
local_err is used again in migration_bitmap_sync_precopy() after precopy_notify(), so we must zero it. Otherwise try to set non-NULL local_err will crash. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200324153630.11882-6-vsementsov@virtuozzo.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> (cherry picked from commit b4a1733) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information