diff options
author | 2017-01-31 17:17:28 +0100 | |
---|---|---|
committer | 2017-01-31 18:32:54 +0100 | |
commit | 1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232 (patch) | |
tree | 874d3a8f615c202d9217226edbb9388da92f5573 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | USB: serial: digi_acceleport: fix OOB data sanity check (diff) | |
download | linux-dev-1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions