« Previous | Next » 

Revision f5bf14bf

IDf5bf14bf39ec1ca2ad70ca1ec0e38a3e1e3f252d

Added by Gerd Hoffmann about 12 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences