diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-12 16:56:12 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-16 18:38:55 +0300 |
commit | e3e574ad85a208cb179f33720bb5f12b453de33c (patch) | |
tree | 0e59dd12fad710a7eec5403a548915dd03e96cd1 /tools/perf/scripts/python | |
parent | 427c3a95e3e29e65f59d99aaf320d7506f3eed57 (diff) | |
download | linux-e3e574ad85a208cb179f33720bb5f12b453de33c.tar.xz |
USB: serial: ftdi_sio: fix latency-timer error handling
Make sure to detect short responses when reading the latency timer to
avoid using stale buffer data.
Note that no heap data would currently leak through sysfs as
ASYNC_LOW_LATENCY is set by default.
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')
0 files changed, 0 insertions, 0 deletions