aboutsummaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-10-25 04:54:31 +0200
committerJeff Cody <jcody@redhat.com>2016-11-14 22:47:34 -0500
commit4e504535c16dfa66290281e704384abfaca08673 (patch)
tree3ce9bca295a9ee1cc047efbcde53c48f82358bf0 /.mailmap
parentff5ca1664af85b24a4180d595ea6873fd3deac57 (diff)
downloadqemu-4e504535c16dfa66290281e704384abfaca08673.zip
qemu-4e504535c16dfa66290281e704384abfaca08673.tar.gz
qemu-4e504535c16dfa66290281e704384abfaca08673.tar.bz2
block/curl: Do not wait for data beyond EOF
libcurl will only give us as much data as there is, not more. The block layer will deny requests beyond the end of file for us; but since this block driver is still using a sector-based interface, we can still get in trouble if the file size is not a multiple of 512. While we have already made sure not to attempt transfers beyond the end of the file, we are currently still trying to receive data from there if the original request exceeds the file size. This patch fixes this issue and invokes qemu_iovec_memset() on the iovec's tail. Cc: qemu-stable@nongnu.org Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20161025025431.24714-5-mreitz@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions