Files
qemu/hw
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
..
2016-05-19 16:42:28 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:27 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:30 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-20 13:09:22 +01:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:27 +02:00
2016-05-19 16:42:29 +02:00
2016-05-18 15:04:27 +03:00
2016-01-29 15:07:25 +00:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-20 13:09:22 +01:00
2016-05-19 16:42:27 +02:00
2016-05-23 13:30:03 +02:00
2015-12-22 18:39:19 +02:00