diff options
author | Hanna Reitz | 2022-03-04 16:37:28 +0100 |
---|---|---|
committer | Kevin Wolf | 2022-03-04 18:18:26 +0100 |
commit | 78fa41fc671eae51fd3390a12a041d1c4a241c66 (patch) | |
tree | 9a3ea923dffd6d3f15e0cbb080d6d5b6cb3ac82c /python | |
parent | block/amend: Always call .bdrv_amend_clean() (diff) | |
download | qemu-78fa41fc671eae51fd3390a12a041d1c4a241c66.tar.gz qemu-78fa41fc671eae51fd3390a12a041d1c4a241c66.tar.xz qemu-78fa41fc671eae51fd3390a12a041d1c4a241c66.zip |
block/amend: Keep strong reference to BDS
Otherwise, the BDS might be freed while the job is running, which would
cause a use-after-free.
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220304153729.711387-5-hreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions