diff options
author | jun <jun> | 2001-08-17 05:06:07 +0000 |
---|---|---|
committer | jun <jun> | 2001-08-17 05:06:07 +0000 |
commit | 145eed17304975000b7760137e937df4f7cbb31a (patch) | |
tree | d2c39739a1f8e0ddde146b1a4f1b684ad6e2bb44 /security/AiSSLtelnet | |
parent | 602c3392f5f8d8d794cc90201e48936326150fe0 (diff) | |
download | pkgsrc-145eed17304975000b7760137e937df4f7cbb31a.tar.gz |
now security fix contains main trunk.
Diffstat (limited to 'security/AiSSLtelnet')
-rw-r--r-- | security/AiSSLtelnet/patches/patch-aa | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/security/AiSSLtelnet/patches/patch-aa b/security/AiSSLtelnet/patches/patch-aa deleted file mode 100644 index b90645c9955..00000000000 --- a/security/AiSSLtelnet/patches/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2001/07/30 15:24:07 jun Exp $ - ---- telnetd/telnetd.c.org Tue Jul 31 00:01:12 2001 -+++ telnetd/telnetd.c -@@ -1988,8 +1988,15 @@ - return; - } - #endif -- (void) strcpy(nfrontp, "\r\n[Yes]\r\n"); -- nfrontp += 9; -+ /* Flush outstanding data if possible. If not, and buffers are -+ full, break protocol and send no reply, rather than overflow -+ the buffer. -+ */ -+ netflush(); -+ if ( (BUFSIZ - (nfrontp - netobuf)) > 9 ) { -+ (void) strcpy(nfrontp, "\r\n[Yes]\r\n"); -+ nfrontp += 9; -+ } - } - - void |