On 12/11/18 8:26 AM, Gerd Hoffmann wrote:
> usb packets with no payload (zero length) seem to happen in practice for
> whatever reason. Add a check and skip the packet then, otherwise we'll
> trigger an assert.
>
> Reported-by: Leonardo Soares Müller
> Signed-off-by: Gerd Hoffmann
Reviewed-by:
usb packets with no payload (zero length) seem to happen in practice for
whatever reason. Add a check and skip the packet then, otherwise we'll
trigger an assert.
Reported-by: Leonardo Soares Müller
Signed-off-by: Gerd Hoffmann
---
hw/usb/dev-audio.c | 3 +++
1 file changed, 3 insertions(+)
d