diff options
| author | Johan Hovold <[email protected]> | 2017-01-31 17:17:29 +0100 |
|---|---|---|
| committer | Johan Hovold <[email protected]> | 2017-01-31 18:33:00 +0100 |
| commit | c528fcb116e61afc379a2e0a0f70906b937f1e2c (patch) | |
| tree | 4140133888712a6f6c210954dfd04d97dbe55bc7 /tools/lib/api | |
| parent | 1b0aed2b1600f6e5c7b9acfbd610a4e351ef5232 (diff) | |
USB: serial: keyspan_pda: fix receive sanity checks
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 <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/lib/api')
0 files changed, 0 insertions, 0 deletions