diff options
author | Peter Lieven | 2020-12-09 13:17:35 +0100 |
---|---|---|
committer | Kevin Wolf | 2020-12-18 11:48:39 +0100 |
commit | 182454dc63c66ff5a29eddd60cc987b6a1b45e7f (patch) | |
tree | 40f3f9a458f30dbc9602a7966955efd89fa7736c /storage-daemon | |
parent | hw/block/nand: Decommission the NAND museum (diff) | |
download | qemu-182454dc63c66ff5a29eddd60cc987b6a1b45e7f.tar.gz qemu-182454dc63c66ff5a29eddd60cc987b6a1b45e7f.tar.xz qemu-182454dc63c66ff5a29eddd60cc987b6a1b45e7f.zip |
block/nfs: fix int overflow in nfs_client_open_qdict
nfs_client_open returns the file size in sectors. This effectively
makes it impossible to open files larger than 1TB.
Fixes: c22a03454544c2a08f1107c5cc8481a5574533d5
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Message-Id: <20201209121735.16437-1-pl@kamp.de>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'storage-daemon')
0 files changed, 0 insertions, 0 deletions