[Bug 1719758] [NEW] telnet send IAC ABORT in some Tranditional Chinese UTF-8 character
黃于真
1719758 at bugs.launchpad.net
Wed Sep 27 02:05:26 UTC 2017
Public bug reported:
When I telnet to some MUD server and chat,
> say 本
telnet client send 'IAC ABORT's, and MUD server get the wrong input.
1. what telnet send :
telnet> toggle
Need an argument to 'toggle' command. 'toggle ?' for help.
telnet> toggle options
Will show option processing.
say 本
SENT IAC ABORT
SENT DO TIMING MARK
2. What MUD server received (from strace)
readv(8, [{"say \346\377\356\377\375\6", 10}], 1) = 10
epoll_ctl(3, EPOLL_CTL_MOD, 8, {EPOLLIN|EPOLLOUT, {u32=8, u64=8}}) = 0
writev(8, [{"\377\373\6", 3}], 1) = 3
'本' is 0xe6,0xac,0x9c
but the MUD server got :
0xe6, 0xff, 0xee, 0xff, 0xfd, 0x06
** Affects: netkit-telnet (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netkit-telnet in Ubuntu.
https://bugs.launchpad.net/bugs/1719758
Title:
telnet send IAC ABORT in some Tranditional Chinese UTF-8 character
Status in netkit-telnet package in Ubuntu:
New
Bug description:
When I telnet to some MUD server and chat,
> say 本
telnet client send 'IAC ABORT's, and MUD server get the wrong input.
1. what telnet send :
telnet> toggle
Need an argument to 'toggle' command. 'toggle ?' for help.
telnet> toggle options
Will show option processing.
say 本
SENT IAC ABORT
SENT DO TIMING MARK
2. What MUD server received (from strace)
readv(8, [{"say \346\377\356\377\375\6", 10}], 1) = 10
epoll_ctl(3, EPOLL_CTL_MOD, 8, {EPOLLIN|EPOLLOUT, {u32=8, u64=8}}) = 0
writev(8, [{"\377\373\6", 3}], 1) = 3
'本' is 0xe6,0xac,0x9c
but the MUD server got :
0xe6, 0xff, 0xee, 0xff, 0xfd, 0x06
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netkit-telnet/+bug/1719758/+subscriptions
More information about the foundations-bugs
mailing list