telnetd: fix corner case of input processing of 0xff bytes
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 12 Oct 2016 17:13:46 +0000 (19:13 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 12 Oct 2016 17:13:46 +0000 (19:13 +0200)
commit122c47ac02e2d2f615b34fe744d958fcd245f3d5
treedcd38ea0d83c3c6889c34d7a2388cca4129f131e
parent0190c41bb297e8120e217cb531fb34d5035f17d2
telnetd: fix corner case of input processing of 0xff bytes

I managed to reproduce the bug, with some difficulty.

function                                             old     new   delta
telnetd_main                                        1780    1791     +11

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/telnetd.IAC_test.sh [new file with mode: 0644]
networking/telnetd.c