diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-04-23 15:57:05 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-06-04 16:55:58 +0200 |
commit | d93e57268892d555d7c71ec30b25276b0d8132b6 (patch) | |
tree | b8fc2dd5e290b52204aaabbcd3cf3f966834eaef /tests/m48t59-test.c | |
parent | 1477b6c803491cd1146a8858bf5cf8159913054d (diff) | |
download | qemu-d93e57268892d555d7c71ec30b25276b0d8132b6.zip qemu-d93e57268892d555d7c71ec30b25276b0d8132b6.tar.gz qemu-d93e57268892d555d7c71ec30b25276b0d8132b6.tar.bz2 |
block/io: bdrv_pdiscard: support int64_t bytes parameter
This fixes at least one overflow in qcow2_process_discards, which
passes 64bit region length to bdrv_pdiscard where bytes (or sectors in
the past) parameter is int since its introduction in 0b919fae.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/m48t59-test.c')
0 files changed, 0 insertions, 0 deletions