qemu/hw/usb
Thomas Huth d400fc018b usb/ohci: Fix crash with when specifying too many num-ports
QEMU currently crashes when an OHCI controller is instantiated with
too many ports, e.g. "-device pci-ohci,num-ports=100,masterbus=1".
Thus add a proper check in usb_ohci_init() to make sure that we
do not use more than OHCI_MAX_PORTS = 15 ports here.

Ticket: https://bugs.launchpad.net/qemu/+bug/1581308
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1463995387-11710-1-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-05-23 14:59:40 +02:00
..
Makefile.objs xen: add pvUSB backend 2016-05-23 13:30:03 +02:00
bus.c
ccid-card-emulated.c event-notifier: Add "is_external" parameter 2016-04-22 16:43:56 +02:00
ccid-card-passthru.c
ccid.h
combined-packet.c
core.c
desc-msos.c
desc.c
desc.h
dev-audio.c
dev-bluetooth.c
dev-hid.c
dev-hub.c
dev-mtp.c usb-mtp: fix usb_mtp_get_device_info so that libmtp on the guest doesn't complain 2016-05-11 10:33:49 +02:00
dev-network.c
dev-serial.c
dev-smartcard-reader.c
dev-storage.c
dev-uas.c
dev-wacom.c
hcd-ehci-pci.c
hcd-ehci-sysbus.c
hcd-ehci.c Revert "ehci: make idt processing more robust" 2016-04-19 08:20:56 +02:00
hcd-ehci.h
hcd-musb.c
hcd-ohci.c usb/ohci: Fix crash with when specifying too many num-ports 2016-05-23 14:59:40 +02:00
hcd-uhci.c usb/uhci: move pid check 2016-04-25 12:05:05 +01:00
hcd-xhci.c usb:xhci: no DMA on HC reset 2016-05-11 10:29:28 +02:00
host-legacy.c
host-libusb.c usb: Support compilation without poll.h 2016-05-11 10:37:39 +02:00
host-stub.c
host.h
libhw.c
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c * Log filtering from Alex and Peter 2016-03-24 21:42:40 +00:00
tusb6010.c
xen-usb.c xen: add pvUSB backend 2016-05-23 13:30:03 +02:00