aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/ark3116.c
Commit message (Collapse)AuthorAgeFilesLines
* USB: serial: ark3116: fix register-accessor error handlingJohan Hovold2017-06-171-3/+10
| | | | | | | | | | | | | | commit 9fef37d7cf170522fb354d6d0ea6de09b9b16678 upstream. The current implementation failed to detect short transfers, something which could lead to bits of the uninitialised heap transfer buffer leaking to user space. Fixes: 149fc791a452 ("USB: ark3116: Setup some basic infrastructure for new ark3116 driver.") Fixes: f4c1e8d597d1 ("USB: ark3116: Make existing functions 16450-aware and add close and release functions.") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
* first commitMeizu OpenSource2016-08-151-0/+792