block: qemu-iotests - add check for multiplication overflow in vpc
commit77c102c26ead946fe7589d4bddcdfa5cb431ebfe
authorJeff Cody <jcody@redhat.com>
Fri, 24 Jul 2015 14:26:52 +0000 (24 10:26 -0400)
committerKevin Wolf <kwolf@redhat.com>
Mon, 27 Jul 2015 15:19:07 +0000 (27 17:19 +0200)
treebcec3a54c9dcd33829e8c11e888739b5136bc4f0
parentb15deac79530d818092cb49a8021bcce83d71b5b
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>
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]