summaryrefslogtreecommitdiffstats
path: root/hw/usb-ehci.c
diff options
context:
space:
mode:
authorGerd Hoffmann2011-08-25 16:43:15 +0200
committerGerd Hoffmann2011-09-07 09:58:26 +0200
commit4d8debba766265d70cb7bf11570e3622512641d6 (patch)
tree91fb3dc80d1ece52056ddfcc0f80a1c15fb2c361 /hw/usb-ehci.c
parentusb-host: parse port in /proc/bus/usb/devices scan (diff)
downloadqemu-4d8debba766265d70cb7bf11570e3622512641d6.tar.gz
qemu-4d8debba766265d70cb7bf11570e3622512641d6.tar.xz
qemu-4d8debba766265d70cb7bf11570e3622512641d6.zip
usb: fix use after free
The ->complete() callback might have released the USBPacket (uhci actually does), so we must not touch it after the callback returns. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-ehci.c')
0 files changed, 0 insertions, 0 deletions