summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/unused_mac.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-10-12 14:54:10 +0200
committerDenys Vlasenko2016-10-12 14:54:10 +0200
commit2a54b3e86ebf71d5d5dce7eb95d1aa04a636e780 (patch)
tree19ae37522ebebc267d3df00b10217bdbc15d483c /util-linux/volume_id/unused_mac.c
parent713b5133534d4bd4cfb49caba85eb3f655b6d8fd (diff)
downloadbusybox-2a54b3e86ebf71d5d5dce7eb95d1aa04a636e780.zip
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 'util-linux/volume_id/unused_mac.c')
0 files changed, 0 insertions, 0 deletions