diff options
| author | Gerd Hoffmann | 2013-07-31 10:54:11 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2013-08-01 13:03:42 +0200 |
| commit | 75cc1c1fcba1987bdf3979c4289ab756c2b15742 (patch) | |
| tree | 1c893fb96c94fde4338a5296d806476a9d154b48 /include/exec/memory.h | |
| parent | Merge remote-tracking branch 'spice/spice.v72' into staging (diff) | |
| download | qemu-75cc1c1fcba1987bdf3979c4289ab756c2b15742.tar.gz qemu-75cc1c1fcba1987bdf3979c4289ab756c2b15742.tar.xz qemu-75cc1c1fcba1987bdf3979c4289ab756c2b15742.zip | |
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>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
