mirror of
https://github.com/qemu/qemu.git
synced 2026-11-12 23:00:44 +00:00
39ba3bf69c4ef4d8a8b683ee7282efd25b3f01ff
Commit de82815db1 ("qcow2: Handle failure
for potentially large allocations") introduced a double-free of
new_blocks in the alloc_refcount_block() error path.
The qemu-iotests qcow2 026 test case was failing because qemu-io
segfaulted.
Make sure new_blocks is NULL after we free it the first time.
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
…
Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org - QEMU team
Description
Languages
C
83.4%
C++
6%
Python
3.5%
Dylan
2.7%
Shell
1.2%
Other
3%