diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-31 17:17:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 13:32:56 +0200 |
| commit | 07a929374baa560adb94b950d6bd5f81ebdf3444 (patch) | |
| tree | d98a103c8fae16418716cc46f46d0d5e81cad7e3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2428776eb1e60acf636a48a76acd8a27ccf92aa8 (diff) | |
USB: serial: keyspan_pda: fix receive sanity checks
commit c528fcb116e61afc379a2e0a0f70906b937f1e2c upstream.
Make sure to check for short transfers before parsing the receive buffer
to avoid acting on stale data.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
