diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-10 21:58:58 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-23 16:10:59 +0200 |
| commit | e948f663e9334249c394b88926addcdd3f9e35cd (patch) | |
| tree | d187b8b01f4bea45a752862ef1301d920b6bf963 /util/qemu-thread-win32.c | |
| parent | 3c0ed2a342e5acb97bdd2c7b64d33a904ad75940 (diff) | |
| download | focaccia-qemu-e948f663e9334249c394b88926addcdd3f9e35cd.tar.gz focaccia-qemu-e948f663e9334249c394b88926addcdd3f9e35cd.zip | |
rbd: shift byte count as a 64-bit value
Otherwise, reads of more than 2GB fail. Until commit 7bbca9e290a9c7c217b5a24fc6094e91e54bd05d, reads of 2^41 bytes succeeded at least theoretically. In fact, pdiscard ought to receive a 64-bit integer as the count for the same reason. Reported by Coverity. Fixes: 7bbca9e290a9c7c217b5a24fc6094e91e54bd05d Cc: qemu-stable@nongnu.org Cc: kwolf@redhat.com Cc: eblake@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-thread-win32.c')
0 files changed, 0 insertions, 0 deletions