bugzilla-daemon at mindrot.org
2005-Apr-21 10:29 UTC
[Bug 1025] Does not correctly send/parse disabled special character in ttymodes
http://bugzilla.mindrot.org/show_bug.cgi?id=1025 Summary: Does not correctly send/parse disabled special character in ttymodes Product: Portable OpenSSH Version: 4.0p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: jacobn+mindrot at chiark.greenend.org.uk When sending terminal modes in a pty request, SSH-1 and SSH-2 both specify a portable representation for a disabled special character, being the value 255. However, ttymodes.c just copies the local representation onto the wire and back again. So OpenSSH interoperates with itself between homogeneous platforms, but not with conforming implementations; for instance, from another client to OpenSSH on Linux (where _POSIX_VDISABLE appears to be '\0'): client$ stty -a [...] eol = <undef>; eol2 = <undef>; [...] server$ stty -a [...] eol = M-^?; eol2 = M-^?; [...] The attached patch against 4.0p1 fixes this for systems where _POSIX_VDISABLE is defined. Compiled and tested on Linux. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Apr-21 10:30 UTC
[Bug 1025] Does not correctly send/parse disabled special character in ttymodes
http://bugzilla.mindrot.org/show_bug.cgi?id=1025 ------- Additional Comments From jacobn+mindrot at chiark.greenend.org.uk 2005-04-21 20:30 ------- Created an attachment (id=893) --> (http://bugzilla.mindrot.org/attachment.cgi?id=893&action=view) _POSIX_VDISABLE patch for 4.0p1 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.