diff options
| author | Isaac Lozano <109lozanoi@gmail.com> | 2016-08-06 03:06:01 -0700 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-09-14 11:17:06 +0200 |
| commit | 8a5865f331028e66b4ed233129d7a914c2d5bfc7 (patch) | |
| tree | 86d156bbf9942457f33b9784df7bfc8232bc5ee0 /cpu-exec.c | |
| parent | b53dd4495ced2432a0b652ea895e651d07336f7e (diff) | |
| download | focaccia-qemu-8a5865f331028e66b4ed233129d7a914c2d5bfc7.tar.gz focaccia-qemu-8a5865f331028e66b4ed233129d7a914c2d5bfc7.zip | |
usb-mtp: fix sending files larger than 4gb
MTP requires that if a file is larger than 4gb or if sending data larger than 4gb, that the length field be set to 0xFFFFFFFF. Also widened a couple variables to prevent overflow errors. Signed-off-by: Isaac Lozano <109lozanoi@gmail.com> Message-id: 01ad8ec7775f58575801ac3f13716f553a16815e.1470477265.git.109lozanoi@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions