diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-12 14:54:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-12 14:54:10 +0200 |
commit | 2a54b3e86ebf71d5d5dce7eb95d1aa04a636e780 (patch) | |
tree | 19ae37522ebebc267d3df00b10217bdbc15d483c /testsuite/mkdir | |
parent | 713b5133534d4bd4cfb49caba85eb3f655b6d8fd (diff) | |
download | busybox-2a54b3e86ebf71d5d5dce7eb95d1aa04a636e780.tar.gz |
telnetd: fix handling of short writes to pty
If a write to pty is short, remove_iacs() can be run on a buffer repeatedly.
This, for example, can eat 0xff chars (IACs, in telnet terms).
Rework the logic to handle IACs in a special "write to pty" function.
function old new delta
telnetd_main 1662 1750 +88
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/mkdir')
0 files changed, 0 insertions, 0 deletions