aboutsummaryrefslogtreecommitdiff
path: root/irc/bitchx
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2000-12-12 08:07:56 +0000
committerPeter Pentchev <roam@FreeBSD.org>2000-12-12 08:07:56 +0000
commit823a6d19afe8a04b00140f6aeff0478e0c2f3255 (patch)
treea16c5e1c7975e6a288b2db7f57f182aa7dc8f628 /irc/bitchx
parentccd0ec1173ee3631c9490bdd5bf3dabcfc016a49 (diff)
Notes
Diffstat (limited to 'irc/bitchx')
-rw-r--r--irc/bitchx/Makefile1
-rw-r--r--irc/bitchx/files/patch-al23
2 files changed, 23 insertions, 1 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index d6a2264f751a..6128374d4988 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -14,7 +14,6 @@ MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
MAINTAINER= cj@vallcom.net
WRKSRC= ${WRKDIR}/BitchX
-FORBIDDEN= "Buffer overflow in bugtraq"
USE_AUTOCONF= yes
USE_GMAKE= yes
diff --git a/irc/bitchx/files/patch-al b/irc/bitchx/files/patch-al
new file mode 100644
index 000000000000..40d81cb07614
--- /dev/null
+++ b/irc/bitchx/files/patch-al
@@ -0,0 +1,23 @@
+*** source/misc.c~ Fri Sep 1 23:08:52 2000
+--- source/misc.c Fri Dec 8 10:52:56 2000
+***************
+*** 2641,2646 ****
+--- 2641,2648 ----
+ switch(type)
+ {
+ case T_A :
++ if (dlen != sizeof(struct in_addr))
++ return 0;
+ rptr->re_he.h_length = dlen;
+ if (ans == 1)
+ rptr->re_he.h_addrtype=(class == C_IN) ?
+***************
+*** 2687,2692 ****
+--- 2689,2695 ----
+ *alias = NULL;
+ break;
+ default :
++ cp += dlen;
+ break;
+ }
+ }