summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2018-07-15 15:50:43 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-07-17 10:12:51 +0300
commit89066b36c43dc9100ad2c86e0b6bf8c81ca0b4d4 (patch)
tree5bacc1243d6da86ca5b06342e201daa41cc7020d /kernel/audit.c
parenta39ba90a1cc7010edb0a7132e1b67f3d80b994e9 (diff)
downloadlinux-89066b36c43dc9100ad2c86e0b6bf8c81ca0b4d4.tar.gz
linux-89066b36c43dc9100ad2c86e0b6bf8c81ca0b4d4.tar.bz2
linux-89066b36c43dc9100ad2c86e0b6bf8c81ca0b4d4.zip
usb: dwc2: avoid NULL dereferences
For unidirectional endpoints, the endpoint pointer will be NULL for the unused direction. Check that the endpoint is active before dereferencing this pointer. Fixes: 1b4977c793d3 ("usb: dwc2: Update dwc2_handle_incomplete_isoc_in() function") Fixes: 689efb2619b5 ("usb: dwc2: Update dwc2_handle_incomplete_isoc_out() function") Fixes: d84845522d93 ("usb: dwc2: Update GINTSTS_GOUTNAKEFF interrupt handling") Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions