summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/keyspan_pda.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-31 17:17:28 +0100
committerJohan Hovold <johan@kernel.org>2017-01-31 18:32:54 +0100
commit1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232 (patch)
tree874d3a8f615c202d9217226edbb9388da92f5573 /drivers/usb/serial/keyspan_pda.c
parent2d380889215fe20b8523345649dee0579821800c (diff)
downloadlinux-1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232.tar.gz
linux-1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232.tar.bz2
linux-1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232.zip
USB: serial: digi_acceleport: fix incomplete rx sanity check
Make sure the received data has the required headers before parsing it. Also drop the redundant urb-status check, which has already been handled by the caller. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/keyspan_pda.c')
0 files changed, 0 insertions, 0 deletions