commit | f1a7ff770f7d71ee7833ff019aac9d6cc3d13f71 | [log] [tgz] |
---|---|---|
author | Peter Lieven <pl@kamp.de> | Mon Nov 27 17:00:07 2017 +0100 |
committer | Max Reitz <mreitz@redhat.com> | Wed Nov 29 15:28:15 2017 +0100 |
tree | d49e6cb415f2823f007d774e95531de2a765b86e | |
parent | fc24908e7d232b79c2a6f0363f52bda18dedb57b [diff] |
block/nfs: fix nfs_client_open for filesize greater than 1TB DIV_ROUND_UP(st.st_size, BDRV_SECTOR_SIZE) was overflowing ret (int) if st.st_size is greater than 1TB. Cc: qemu-stable@nongnu.org Signed-off-by: Peter Lieven <pl@kamp.de> Message-id: 1511798407-31129-1-git-send-email-pl@kamp.de Signed-off-by: Max Reitz <mreitz@redhat.com>