summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2000-12-12 08:07:56 +0000
committerroam <roam@FreeBSD.org>2000-12-12 08:07:56 +0000
commit7671649ce22b3fa6cb1b908ff318df8cac206b07 (patch)
tree557e1d8feec1abd93dc30f087ab914c510639647 /irc
parent83a62d8da2d7f182d5fe1d9854ac80a1be34872a (diff)
downloadFreeBSD-ports-7671649ce22b3fa6cb1b908ff318df8cac206b07.zip
FreeBSD-ports-7671649ce22b3fa6cb1b908ff318df8cac206b07.tar.gz
Unforbid and add official patch for the DNS response parsing buffer overflow.
PR: 23486 Submitted by: maintainer
Diffstat (limited to 'irc')
-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 d6a2264..6128374 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 0000000..40d81cb
--- /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;
+ }
+ }
OpenPOWER on IntegriCloud