aboutsummaryrefslogtreecommitdiffstats
path: root/net/SSLtelnet/files/patch-al
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-19 10:27:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-19 10:27:25 +0000
commit15a79b97ac258fdb0b7309d00ef5bffcf8ac2f4b (patch)
tree5ba15972212caa0369ff0205d7dd28ddf944be9d /net/SSLtelnet/files/patch-al
parent95c138df21555c3d5ad504233555afa358a9bf6e (diff)
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
Diffstat (limited to 'net/SSLtelnet/files/patch-al')
-rw-r--r--net/SSLtelnet/files/patch-al26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/SSLtelnet/files/patch-al b/net/SSLtelnet/files/patch-al
new file mode 100644
index 000000000000..39ed9d90ef05
--- /dev/null
+++ b/net/SSLtelnet/files/patch-al
@@ -0,0 +1,26 @@
+--- 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[];