diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-01 01:20:28 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-01 01:20:28 +0800 |
commit | c42e6dc3b8bb59fae280e7ced539d5b07129a757 (patch) | |
tree | 144657fe7b2ab99888409a219287b8b303270bcb /mbbsd | |
parent | 7063a37d1220883a1ef006fa3be97ea7d0fd4408 (diff) | |
download | pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.tar pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.tar.gz pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.tar.bz2 pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.tar.lz pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.tar.xz pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.tar.zst pttbbs-c42e6dc3b8bb59fae280e7ced539d5b07129a757.zip |
disallow user input telnet protocol leading char IAC chr(255)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1285 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -317,6 +317,10 @@ igetch() } } return ch; + case IAC: + // disallow user input telnet protocol leading char IAC chr(255) + // TODO parse telnet protocol + continue; default: return ch; |