Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 1da177e ("Linux-2.6.12-rc2") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
- Loading branch information