summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-31 17:17:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-14 13:32:56 +0200
commita655b21b4788b6fc18d783b04a7f8f6cf8f1cff0 (patch)
treee457a87530230f72267f7d68c98972d6bcb25b75 /tools/perf/scripts/python
parent07a929374baa560adb94b950d6bd5f81ebdf3444 (diff)
USB: serial: digi_acceleport: fix incomplete rx sanity check
commit 1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions