summary refs log tree commit diff stats
path: root/hw/usb/dev-storage.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-04-19 13:35:07 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-04-26 12:21:16 +0200
commit818d59dc179b2861e49f3c6472787a23935aac0d (patch)
tree18c1f0565928752619be718950d6278ff51bc206 /hw/usb/dev-storage.c
parent6d7aeeeb8985634a2015e804045a1ca52573ccc5 (diff)
downloadfocaccia-qemu-818d59dc179b2861e49f3c6472787a23935aac0d.tar.gz
focaccia-qemu-818d59dc179b2861e49f3c6472787a23935aac0d.zip
usb-host: don't dereference invalid iovecs
usb-host assumes the first iovec element is always valid.
In case of a zero-length packet this isn't true though.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions