Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: serial: kl5kusb105: fix line-state error handling
The current implementation failed to detect short transfers when attempting to read the line state, and also, to make things worse, logged the content of the uninitialised heap transfer buffer. Fixes: abf492e ("USB: kl5kusb105: fix DMA buffers on stack") Fixes: 1da177e ("Linux-2.6.12-rc2") Cc: stable <stable@vger.kernel.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
- Loading branch information