diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:40:02 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-04 10:43:57 +0100 |
commit | cc0909248258f679c4bb4cd315565d40abaf6bc6 (patch) | |
tree | 57faa1bd5e322b6d7f50d1ccbb1dd1671643f13e /drivers/usb/serial/ti_usb_3410_5052.c | |
parent | f09d1886a41e9063b43da493ef0e845ac8afd2fa (diff) | |
download | blackbird-op-linux-cc0909248258f679c4bb4cd315565d40abaf6bc6.tar.gz blackbird-op-linux-cc0909248258f679c4bb4cd315565d40abaf6bc6.zip |
USB: serial: spcp8x5: fix NULL-deref at open
Fix NULL-pointer dereference in open() should the device lack the
expected endpoints:
Unable to handle kernel NULL pointer dereference at virtual address 00000030
...
PC is at spcp8x5_open+0x30/0xd0 [spcp8x5]
Fixes: 619a6f1d1423 ("USB: add usb-serial spcp8x5 driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/ti_usb_3410_5052.c')
0 files changed, 0 insertions, 0 deletions