commit | 1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Jan 31 17:17:28 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Tue Jan 31 18:32:54 2017 +0100 |
tree | 874d3a8f615c202d9217226edbb9388da92f5573 | |
parent | 2d380889215fe20b8523345649dee0579821800c [diff] |
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>