aboutsummaryrefslogtreecommitdiff
path: root/kernel/rtmutex-debug.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-03 16:39:59 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:48:24 +0200
commit6052b3570801ea4a03177a2d5550379e5219a51b (patch)
treef95b82c566f5db00fe867de5d725ebd507949da9 /kernel/rtmutex-debug.c
parenta72c29ad1a15e596dd6be8312b1186f4ccdbfc43 (diff)
USB: serial: oti6858: fix NULL-deref at open
commit 5afeef2366db14587b65558bbfd5a067542e07fb upstream. 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)") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions