uas: Bounds check tags when using streams
commit3453f9a0dfa58578e6dadf0905ff4528b428ec73
authorHans de Goede <hdegoede@redhat.com>
Thu, 24 Oct 2013 17:15:53 +0000 (24 18:15 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Nov 2013 08:21:17 +0000 (26 09:21 +0100)
tree881e103470634f3a1c2225739dfcdffb86c1bc36
parent0478661ec5f949f16a70687b348c0fb2a56cc537
uas: Bounds check tags when using streams

Disallow the guest to cause us to address the data3 and status3 arrays
out of bounds.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-uas.c