diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-03-24 18:36:29 +0300 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-03-25 12:31:38 +0000 |
| commit | b4a1733c5e6827c72b0dcfa295e07ef7b1ebccff (patch) | |
| tree | ecef70efe0d6412fdadd790bdeb404e7b5bef432 /util/bufferiszero.c | |
| parent | 27d07fcfa70c3afa0664288cbce5334ed9595a3a (diff) | |
| download | focaccia-qemu-b4a1733c5e6827c72b0dcfa295e07ef7b1ebccff.tar.gz focaccia-qemu-b4a1733c5e6827c72b0dcfa295e07ef7b1ebccff.zip | |
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>
Diffstat (limited to 'util/bufferiszero.c')
0 files changed, 0 insertions, 0 deletions