Johan Hovold 794744abff USB: serial: mos7840: fix status-register error handling
Add missing transfer-length sanity check to the status-register
completion handler to avoid leaking bits of uninitialised slab data to
user space.

Fixes: 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver")
Cc: stable <stable@vger.kernel.org>     # 2.6.19
Signed-off-by: Johan Hovold <johan@kernel.org>
2018-07-06 10:32:28 +02:00
..
2017-11-04 11:58:00 +01:00
2018-05-31 12:15:20 +02:00
2017-11-04 11:58:00 +01:00
2018-06-05 16:14:12 -07:00