]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: fix crash in qemuSaveImageDecompressionStart
authorPavel Hrdina <phrdina@redhat.com>
Fri, 3 Nov 2023 13:03:55 +0000 (14:03 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 3 Nov 2023 13:17:06 +0000 (14:17 +0100)
commit4f4a8dce944e05311565b690a84f6bb1ef67c086
tree8b5bc75ffd7c35f5971bba099e3ffd6fe69ca59a
parentabb6906260acc7f284e0aa035bef2f51f1509541
qemu_process: fix crash in qemuSaveImageDecompressionStart

Commit changing the code to allow passing NULL as @data into
qemuSaveImageDecompressionStart() was not correct as it left the
original call into the function as well.

Introduced-by: 2f3e582a1ac1008eba8d43c751cdba8712dd1614
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2247754
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c