summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2017-09-29 10:54:24 -0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-10-11 13:15:11 +0300
commit7c80f9e4a588f1925b07134bb2e3689335f6c6d8 (patch)
tree97cce111e80f00c281eb38467c00c4907481182b /drivers/pinctrl
parentff74745e6d3d97a865eda8c1f3fd29c13b79f0cc (diff)
usb: usbtest: fix NULL pointer dereference
If the usbtest driver encounters a device with an IN bulk endpoint but no OUT bulk endpoint, it will try to dereference a NULL pointer (out->desc.bEndpointAddress). The problem can be solved by adding a missing test. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Andrey Konovalov <andreyknvl@google.com> Tested-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions