mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
USB: serial: kl5kusb105: fix line-state error handling
commit146cc8a17aupstream. 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:abf492e7b3("USB: kl5kusb105: fix DMA buffers on stack") Fixes:1da177e4c3("Linux-2.6.12-rc2") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
0646217322
commit
59021c058a
1 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue