Home
last modified time | relevance | path

Searched hist:e3e574ad85a208cb179f33720bb5f12b453de33c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dftdi_sio.cdiff e3e574ad85a208cb179f33720bb5f12b453de33c Thu Jan 12 07:56:12 CST 2017 Johan Hovold <johan@kernel.org> 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>