]> git.proxmox.com Git - mirror_qemu.git/commit
usb: fix unbound stack usage for usb_mtp_add_str
authorPeter Xu <peterx@redhat.com>
Thu, 10 Mar 2016 02:35:24 +0000 (10:35 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Mar 2016 12:55:16 +0000 (13:55 +0100)
commite3d60bc7c6f26b889686ab91f7062f6a79df2494
treeb57f43562e9835b17c2197629c007a33aaf8031d
parent182b391e797508deba9704cf580325e99260d8c8
usb: fix unbound stack usage for usb_mtp_add_str

Use heap instead of stack.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-mtp.c