diff options
author | roam <roam@FreeBSD.org> | 2000-12-12 16:07:56 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2000-12-12 16:07:56 +0800 |
commit | 7671649ce22b3fa6cb1b908ff318df8cac206b07 (patch) | |
tree | 557e1d8feec1abd93dc30f087ab914c510639647 /irc/bitchx | |
parent | 83a62d8da2d7f182d5fe1d9854ac80a1be34872a (diff) | |
download | freebsd-ports-gnome-7671649ce22b3fa6cb1b908ff318df8cac206b07.tar.gz freebsd-ports-gnome-7671649ce22b3fa6cb1b908ff318df8cac206b07.tar.zst freebsd-ports-gnome-7671649ce22b3fa6cb1b908ff318df8cac206b07.zip |
Unforbid and add official patch for the DNS response parsing buffer overflow.
PR: 23486
Submitted by: maintainer
Diffstat (limited to 'irc/bitchx')
-rw-r--r-- | irc/bitchx/Makefile | 1 | ||||
-rw-r--r-- | irc/bitchx/files/patch-al | 23 |
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; + } + } |