diff options
| author | Bandan Das <bsd@redhat.com> | 2018-07-20 17:40:17 -0400 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-08-21 10:27:59 +0200 |
| commit | 406f35d7fcf5f029780d2e0cc9fa0cc37856d57c (patch) | |
| tree | 94d6fabe95c83333be396d718157bc08760db668 /qemu-keymap.c | |
| parent | 47bff13cea8dd3e6ae869c3203723d93bd734637 (diff) | |
| download | focaccia-qemu-406f35d7fcf5f029780d2e0cc9fa0cc37856d57c.tar.gz focaccia-qemu-406f35d7fcf5f029780d2e0cc9fa0cc37856d57c.zip | |
dev-mtp: fix buffer allocation for writing file contents
usb_mtp_realloc() was being incorrectly used when allocating buffer for incoming data. Set d->length only after resizing the buffer. Signed-off-by: Bandan Das <bsd@redhat.com> Message-id: 20180720214020.22897-3-bsd@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions