diff options
author | jun <jun@pkgsrc.org> | 2001-08-17 05:06:07 +0000 |
---|---|---|
committer | jun <jun@pkgsrc.org> | 2001-08-17 05:06:07 +0000 |
commit | ef65348c9fe6c2345bbf22c8349eba4abee2475f (patch) | |
tree | d2c39739a1f8e0ddde146b1a4f1b684ad6e2bb44 | |
parent | e00ea865b98598f81c3c2e6b9bbe023e4b12f838 (diff) | |
download | pkgsrc-ef65348c9fe6c2345bbf22c8349eba4abee2475f.tar.gz |
now security fix contains main trunk.
-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 |