diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:40:02 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 11:22:45 +0100 |
| commit | 0243498813d20485e49d58f4d70bb2c12c89afa2 (patch) | |
| tree | b3b4df3dcadc14dce199cda9a8fe0a6aa8f99b90 /tools/perf/scripts/python | |
| parent | 65d107038ec6ecee4a4240d23e87deb295051caf (diff) | |
USB: serial: spcp8x5: fix NULL-deref at open
commit cc0909248258f679c4bb4cd315565d40abaf6bc6 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 spcp8x5_open+0x30/0xd0 [spcp8x5]
Fixes: 619a6f1d1423 ("USB: add usb-serial spcp8x5 driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
