Revision 75cc1c1f
ID | 75cc1c1fcba1987bdf3979c4289ab756c2b15742 |
xhci: fix segfault
Guest trying to reset a endpoint of a disconnected device resulted in
xhci trying to dereference uport while being NULL, thereby crashing
qemu. Fix that by adding a check. Drop unused dev variable while
touching that code bit.
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted