Re: [Qemu-devel] [PATCH] usb-host: fix handling of zero-length packets

2012-04-17 Thread Johannes Stezenbach
Hi Gerd, On Mon, Apr 02, 2012 at 01:50:35PM +0200, Johannes Stezenbach wrote: > Zero-length packets are valid but currently cause > qemu to crash: did you have a chance to look at this? Thanks, Johannes > Program terminated with signal 11, Segmentation fault. > #0 0xf7589f26 in usb_host_handl

[Qemu-devel] [PATCH] usb-host: fix handling of zero-length packets

2012-04-02 Thread Johannes Stezenbach
Zero-length packets are valid but currently cause qemu to crash: Program terminated with signal 11, Segmentation fault. #0 0xf7589f26 in usb_host_handle_data (dev=0xf8fd4820, p=0xf91606b0) at qemu/hw/usb/host-linux.c:886 886 prem = p->iov.iov[v].iov_len; (gdb) bt #0 0xf7589f26 in usb_ho