afbcc40bee
The first test case would cause a huge memory allocation, leading to a qemu abort; the second one to a too small malloc() for the catalog (smaller than s->catalog_size), which causes a read-only out-of-bounds array access and on big endian hosts an endianess conversion for an undefined memory area. The sample image used here is not an original Parallels image. It was created using an hexeditor on the basis of the struct that qemu uses. Good enough for trying to crash the driver, but not for ensuring compatibility. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> |
||
---|---|---|
.. | ||
empty.bochs.bz2 | ||
fake.parallels.bz2 | ||
iotest-dirtylog-10G-4M.vhdx.bz2 | ||
iotest-dynamic-1G.vhdx.bz2 | ||
iotest-version3.vmdk.bz2 | ||
README | ||
simple-pattern.cloop.bz2 |
This is for small sample images to be used with qemu-iotests, intended for non-native formats that QEMU supports for compatibility. The idea is to use the native tool to create the sample image. For instance, a VHDX image in this directory would be an image created not by QEMU itself, but rather created by Hyper-V. Sample images added here must be compressed with bzip2.