summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/pl2303.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-03 16:39:59 +0100
committerJohan Hovold <johan@kernel.org>2017-01-04 10:43:48 +0100
commit5afeef2366db14587b65558bbfd5a067542e07fb (patch)
tree0992e2a3fea460f1738ed0935be9e5b02e82f124 /drivers/usb/serial/pl2303.c
parenta5bc01949e3b19d8a23b5eabc6fc71bb50dc820e (diff)
downloadlinux-5afeef2366db14587b65558bbfd5a067542e07fb.tar.bz2
USB: serial: oti6858: 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 oti6858_open+0x30/0x1d0 [oti6858] Note that a missing interrupt-in endpoint would have caused open() to fail. Fixes: 49cdee0ed0fc ("USB: oti6858 usb-serial driver (in Nokia CA-42 cable)") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
0 files changed, 0 insertions, 0 deletions