summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/080.out
diff options
context:
space:
mode:
authorKevin Wolf2014-03-26 13:06:06 +0100
committerStefan Hajnoczi2014-04-01 15:22:35 +0200
commit6a83f8b5bec6f59e56cc49bd49e4c3f8f805d56f (patch)
tree4063692109e5f06ece922daad860641ec0fe8421 /tests/qemu-iotests/080.out
parentqcow2: Fix L1 allocation size in qcow2_snapshot_load_tmp() (CVE-2014-0145) (diff)
downloadqemu-6a83f8b5bec6f59e56cc49bd49e4c3f8f805d56f.tar.gz
qemu-6a83f8b5bec6f59e56cc49bd49e4c3f8f805d56f.tar.xz
qemu-6a83f8b5bec6f59e56cc49bd49e4c3f8f805d56f.zip
qcow2: Check maximum L1 size in qcow2_snapshot_load_tmp() (CVE-2014-0143)
This avoids an unbounded allocation. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/080.out')
-rw-r--r--tests/qemu-iotests/080.out6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qemu-iotests/080.out b/tests/qemu-iotests/080.out
index 4d84fbf64b..f7a943c7a4 100644
--- a/tests/qemu-iotests/080.out
+++ b/tests/qemu-iotests/080.out
@@ -74,4 +74,10 @@ wrote 512/512 bytes at offset 0
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
qemu-img: Could not create snapshot 'test': -27 (File too large)
qemu-img: Could not create snapshot 'test': -11 (Resource temporarily unavailable)
+
+== Invalid snapshot L1 table ==
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
+wrote 512/512 bytes at offset 0
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+qemu-img: Failed to load snapshot: Snapshot L1 table too large
*** done