]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: qemu-iotests - add check for multiplication overflow in vpc
authorJeff Cody <jcody@redhat.com>
Fri, 24 Jul 2015 14:26:52 +0000 (10:26 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 30 Jul 2015 03:18:23 +0000 (22:18 -0500)
commit0dc545e97799d07267854e60ab57b48939edf0e8
tree03b8c71821a1b32bcb60a224a1811330f4bda9aa
parent358f0ee234d1fcaf7b0ff6e830d83821c3c44c56
block: qemu-iotests - add check for multiplication overflow in vpc

This checks that VPC is able to successfully fail (without segfault)
on an image file with a max_table_entries that exceeds 0x40000000.

This table entry is within the valid range for VPC (although too large
for this sample image).

Cc: qemu-stable@nongnu.org
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 77c102c26ead946fe7589d4bddcdfa5cb431ebfe)
Conflicts:
tests/qemu-iotests/group

* removed context dependency on iotest not present in 2.3.0 group
  file

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/135 [new file with mode: 0755]
tests/qemu-iotests/135.out [new file with mode: 0644]
tests/qemu-iotests/group
tests/qemu-iotests/sample_images/afl5.img.bz2 [new file with mode: 0644]