diff options
author | Johan Hovold | 2017-01-03 16:39:49 +0100 |
---|---|---|
committer | Johan Hovold | 2017-01-04 10:37:18 +0100 |
commit | 21ce57840243c7b70fbc1ebd3dceeb70bb6e9e09 (patch) | |
tree | 442cf1fa484c3a4e1950cbf162cd28646b54c087 /drivers/gpio/gpio-merrifield.c | |
parent | USB: serial: keyspan_pda: verify endpoints at probe (diff) | |
download | kernel-qcow2-linux-21ce57840243c7b70fbc1ebd3dceeb70bb6e9e09.tar.gz kernel-qcow2-linux-21ce57840243c7b70fbc1ebd3dceeb70bb6e9e09.tar.xz kernel-qcow2-linux-21ce57840243c7b70fbc1ebd3dceeb70bb6e9e09.zip |
USB: serial: kobil_sct: fix NULL-deref in write
Fix NULL-pointer dereference in write() should the device lack the
expected interrupt-out endpoint:
Unable to handle kernel NULL pointer dereference at virtual address 00000054
...
PC is at kobil_write+0x144/0x2a0 [kobil_sct]
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-merrifield.c')
0 files changed, 0 insertions, 0 deletions