freebsd-ports/net/SSLtelnet/files/patch-al
Kris Kennaway 15a79b97ac Re-add SSLtelnet, with patch (patch-an) to fix the security vulnerability
described in FreeBSD-SA-01:49.telnetd

Submitted by:   kondo hiroshi <kondo@ysyslab.co.jp>
PR:             ports/42676
2002-10-19 10:27:25 +00:00

26 lines
466 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- telnet/telnet.c.orig Sat Oct 16 11:32:57 1999
+++ telnet/telnet.c Sat Oct 16 11:34:05 1999
@@ -68,6 +68,7 @@
#include "externs.h"
#include "types.h"
#include "general.h"
+#include <osreldate.h>
#define strip(x) ((x)&0x7f)
@@ -752,6 +753,7 @@
#ifdef TERMCAP
char termbuf[1024];
+#if (__FreeBSD_version < 400011)
/*ARGSUSED*/
int
@@ -769,6 +771,7 @@
*errp = 0;
return(-1);
}
+#endif
#else
#define termbuf ttytype
extern char ttytype[];