diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-23 13:34:50 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-17 10:23:27 +0200 |
commit | f5bf14bf39ec1ca2ad70ca1ec0e38a3e1e3f252d (patch) | |
tree | c6f38543fe5767cf0874bfaa3a9cfa595548dfa5 /hw/milkymist-softusb.c | |
parent | 39c20577009731d5e059db10ef269807b57e498d (diff) | |
download | hqemu-f5bf14bf39ec1ca2ad70ca1ec0e38a3e1e3f252d.zip hqemu-f5bf14bf39ec1ca2ad70ca1ec0e38a3e1e3f252d.tar.gz |
usb_packet_set_state: handle p->ep == NULL
usb_packet_set_state can be called with p->ep = NULL. The tracepoint
there tries to log endpoint information, which leads to a segfault.
This patch makes usb_packet_set_state handle the NULL pointer properly.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/milkymist-softusb.c')
0 files changed, 0 insertions, 0 deletions