qemu/tests
Fam Zheng adfe37a19a vmdk: Don't corrupt desc file in vmdk_write_cid
If the text description file is larger than DESC_SIZE, we force the last
byte in the buffer to be 0 and write it out.

This results in a corruption.

Try to allocate a big buffer in this case.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1923

Signed-off-by: Fam Zheng <fam@euphon.net>
Message-ID: <20231124115654.3239137-1-fam@euphon.net>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 9fb7b350ba)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: fixups in block/vmdk.c due to missing-in-7.2 v8.0.0-2084-g28944f99c4
 "vmdk: mark more functions as coroutine_fns and GRAPH_RDLOCK")
2023-12-20 19:11:10 +03:00
..
avocado tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility 2023-11-29 16:20:11 +03:00
bench
data tests: acpi: x86: update expected DSDT after moving PRQx fields in _SB scope 2022-11-22 05:19:00 -05:00
decode
docker python: drop pipenv 2023-09-11 10:53:50 +03:00
fp
guest-debug
image-fuzzer
include
keys
lcitool
migration tests/migration: Add -fno-stack-protector 2023-11-02 15:04:24 +03:00
multiboot
perf/block/qcow2
plugin
qapi-schema
qemu-iotests vmdk: Don't corrupt desc file in vmdk_write_cid 2023-12-20 19:11:10 +03:00
qtest tests/qtest: ahci-test: add test exposing reset issue with pending callback 2023-11-19 21:15:23 +03:00
rocker
tcg tests/tcg/s390x: Test LAALG with negative cc_src 2023-11-19 21:15:23 +03:00
tsan
uefi-test-tools
unit async: Add an optional reentrancy guard to the BH API 2023-09-11 10:53:50 +03:00
vm
vmstate-static-checker-data
check-block.sh
dbus-vmstate-daemon.sh
Makefile.include
meson.build
requirements.txt
test-qht-par.c
vhost-user-bridge.c