diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-31 17:17:29 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-31 18:33:00 +0100 |
commit | c528fcb116e61afc379a2e0a0f70906b937f1e2c (patch) | |
tree | 4140133888712a6f6c210954dfd04d97dbe55bc7 /include/linux/iio/timer/stm32-timer-trigger.h | |
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 <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/iio/timer/stm32-timer-trigger.h')
0 files changed, 0 insertions, 0 deletions