Re: [Qemu-devel] [PATCH] usbredir: fix buffer-overflow on migration load

2019-07-05 Thread Marc-André Lureau
Hi On Fri, Jul 5, 2019 at 11:40 AM Marc-André Lureau wrote: > > NO_INTERFACE_INFO (255) is used to indicate no info. > > /home/elmarco/src/qemu/hw/usb/redirect.c:1504:71: runtime error: index 32 out > of bounds for type 'uint8_t [32]' > /home/elmarco/src/qemu/hw/usb/redirect.c:1503:71: runtime e

[Qemu-devel] [PATCH] usbredir: fix buffer-overflow on migration load

2019-07-05 Thread Marc-André Lureau
NO_INTERFACE_INFO (255) is used to indicate no info. /home/elmarco/src/qemu/hw/usb/redirect.c:1504:71: runtime error: index 32 out of bounds for type 'uint8_t [32]' /home/elmarco/src/qemu/hw/usb/redirect.c:1503:71: runtime error: index 32 out of bounds for type 'uint8_t [32]' /home/elmarco/src/q