Skip to content
Commit a66639ab authored by Thomas Viehmann's avatar Thomas Viehmann Committed by Greg Kroah-Hartman
Browse files

usb-serial: fix oti6858.c segfault in termios handling



The oti6858 usb serial driver should use kernel_termios_to_user_termios/
user_termios_to_kernel_termios to avoid segfaults because the kernel
uses a structure differing from that of user space with a different
size.

Signed-off-by: default avatarThomas Viehmann <tv@beamnet.de>
CC: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0bd307e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment