aboutsummaryrefslogtreecommitdiffstats
path: root/korean/bitchx
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2000-12-24 22:29:41 +0800
committercjh <cjh@FreeBSD.org>2000-12-24 22:29:41 +0800
commit7383cba8cf4fb4eb918e76b48713c77f4da687fe (patch)
tree73d080aff64027cbcd607d830e9cf634097fbbb4 /korean/bitchx
parent4a78b2b6987f60c760b6a32bc89e7113427d021a (diff)
downloadfreebsd-ports-gnome-7383cba8cf4fb4eb918e76b48713c77f4da687fe.tar.gz
freebsd-ports-gnome-7383cba8cf4fb4eb918e76b48713c77f4da687fe.tar.zst
freebsd-ports-gnome-7383cba8cf4fb4eb918e76b48713c77f4da687fe.zip
Security fix.
PR: ports/23703 Submitted by: maintainer
Diffstat (limited to 'korean/bitchx')
-rw-r--r--korean/bitchx/Makefile2
-rw-r--r--korean/bitchx/files/patch-al19
2 files changed, 20 insertions, 1 deletions
diff --git a/korean/bitchx/Makefile b/korean/bitchx/Makefile
index 7e344679de11..7e1644d3ac07 100644
--- a/korean/bitchx/Makefile
+++ b/korean/bitchx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= BitchX
PORTVERSION= 1.0c16
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= korean irc gnome
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://ukug.uk.freebsd.org/pub/lord_cj/
diff --git a/korean/bitchx/files/patch-al b/korean/bitchx/files/patch-al
new file mode 100644
index 000000000000..e6d0d059827e
--- /dev/null
+++ b/korean/bitchx/files/patch-al
@@ -0,0 +1,19 @@
+--- source/misc.c.orig Tue Jul 4 18:01:52 2000
++++ source/misc.c Thu Dec 21 11:03:09 2000
+@@ -2427,6 +2427,8 @@
+ 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) ?
+@@ -2473,6 +2475,7 @@
+ *alias = NULL;
+ break;
+ default :
++ cp += dlen ;
+ break;
+ }
+ }