diff options
| author | Vladimir Sementsov-Ogievskiy | 2017-09-22 16:43:53 +0200 |
|---|---|---|
| committer | Max Reitz | 2017-09-26 15:00:32 +0200 |
| commit | 5330f32b71b1868bdb3b444733063cb5adc4e8e6 (patch) | |
| tree | 56a30ece9dc7584b668bd06f98b569d8fb000efc /include/exec | |
| parent | qemu-iotests: add shrinking image test (diff) | |
| download | qemu-5330f32b71b1868bdb3b444733063cb5adc4e8e6.tar.gz qemu-5330f32b71b1868bdb3b444733063cb5adc4e8e6.tar.xz qemu-5330f32b71b1868bdb3b444733063cb5adc4e8e6.zip | |
block/qcow2-bitmap: fix use of uninitialized pointer
Without initialization to zero dirty_bitmap field may be not zero
for a bitmap which should not be stored and
qcow2_store_persistent_dirty_bitmaps will erroneously call
store_bitmap for it which leads to SIGSEGV on bdrv_dirty_bitmap_name.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20170922144353.4220-1-vsementsov@virtuozzo.com
Cc: qemu-stable@nongnu.org
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
