Re: [Qemu-devel] [PATCH 1/2] usb: mtp: fix possible buffer overflow

2014-04-29 Thread Peter Wu
On Tuesday 29 April 2014 10:43:51 Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann Reviewed-by: Peter Wu > --- > hw/usb/dev-mtp.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c > index b6eaeae..62428d8 100644 > --- a/hw/usb/dev-mtp.c >

[Qemu-devel] [PATCH 1/2] usb: mtp: fix possible buffer overflow

2014-04-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/dev-mtp.c | 8 1 file changed, 8 insertions(+) diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c index b6eaeae..62428d8 100644 --- a/hw/usb/dev-mtp.c +++ b/hw/usb/dev-mtp.c @@ -998,6 +998,14 @@ static void usb_mtp_handle_data(USBDevice *dev, USBPac