Re: [Qemu-devel] [PATCH] vmdk: Fix big flat extent IO

2014-01-08 Thread Kevin Wolf
Am 08.01.2014 um 02:42 hat Fam Zheng geschrieben: > Local variable "n" as int64_t avoids overflow with large sector number > calculation. See test case change for failure case. > > Signed-off-by: Fam Zheng Thanks, applied to the block branch. Kevin

[Qemu-devel] [PATCH] vmdk: Fix big flat extent IO

2014-01-07 Thread Fam Zheng
Local variable "n" as int64_t avoids overflow with large sector number calculation. See test case change for failure case. Signed-off-by: Fam Zheng --- block/vmdk.c | 4 +-- tests/qemu-iotests/059 | 7 + tests/qemu-iotests/059.out | 74