summaryrefslogtreecommitdiff
path: root/chat/bitchx
diff options
context:
space:
mode:
authorsalo <salo>2003-05-14 20:09:12 +0000
committersalo <salo>2003-05-14 20:09:12 +0000
commita011d8e991d6a62ecbf00f4cf9aea9ce6d5eeb1c (patch)
tree7e1fec3dbdf57866318c9ddb7f716037c12300cd /chat/bitchx
parentf6b26f2b5e12b3abacf2e885bdcc7be81b66d05f (diff)
downloadpkgsrc-a011d8e991d6a62ecbf00f4cf9aea9ce6d5eeb1c.tar.gz
PKGREVISION++
- Fix major core bug with channel mode -k * on hybrid7 servers. For more information see: http://www.securityfocus.com/archive/1/321093 Patch from BitchX CVS.
Diffstat (limited to 'chat/bitchx')
-rw-r--r--chat/bitchx/Makefile4
-rw-r--r--chat/bitchx/distinfo4
-rw-r--r--chat/bitchx/patches/patch-aj20
3 files changed, 21 insertions, 7 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile
index 8d9f76cf22a..2878af53773 100644
--- a/chat/bitchx/Makefile
+++ b/chat/bitchx/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2003/05/05 06:06:11 grant Exp $
+# $NetBSD: Makefile,v 1.19 2003/05/14 20:09:12 salo Exp $
#
DISTNAME= ircii-pana-1.0c19
PKGNAME= bitchx-1.0.3.19
-PKGREVISION= 1
+PKGREVISION= 2
WRKSRC= ${WRKDIR}/BitchX
CATEGORIES= chat
MASTER_SITES= ftp://ftp.bitchx.org/pub/BitchX/source/ \
diff --git a/chat/bitchx/distinfo b/chat/bitchx/distinfo
index 96343152624..fc60447ea6c 100644
--- a/chat/bitchx/distinfo
+++ b/chat/bitchx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2003/03/29 21:20:29 salo Exp $
+$NetBSD: distinfo,v 1.8 2003/05/14 20:09:13 salo Exp $
SHA1 (ircii-pana-1.0c19.tar.gz) = 4821ebbd3f55ec2cfc2a20e2109e34ea45b3f144
Size (ircii-pana-1.0c19.tar.gz) = 2533621 bytes
@@ -11,6 +11,6 @@ SHA1 (patch-af) = c79fcbcc57b8234d5918b1414219965b75e3c0d1
SHA1 (patch-ag) = 4b89c3da7eb4483b87d9660b5e3d4e62752c5bfd
SHA1 (patch-ah) = 2cc10ac0e312c53f8af379ea50aafa7439671be7
SHA1 (patch-ai) = 7ebe26aaa82a993f5fa40ec5f74ed87769abe2fd
-SHA1 (patch-aj) = 292c70f009d08fda82e4480917c83d4269a89d57
+SHA1 (patch-aj) = 156be839ab2dc5abebb918398f64c62373f3561e
SHA1 (patch-ak) = 4e70e8d42b104b91849e79930fabe8c5a43d10f5
SHA1 (patch-al) = dd501c530af801bece9f035b4355d1ecaaa7658a
diff --git a/chat/bitchx/patches/patch-aj b/chat/bitchx/patches/patch-aj
index 2b73e993c9d..79d90105e8c 100644
--- a/chat/bitchx/patches/patch-aj
+++ b/chat/bitchx/patches/patch-aj
@@ -1,12 +1,15 @@
-$NetBSD: patch-aj,v 1.1 2003/03/29 21:20:30 salo Exp $
+$NetBSD: patch-aj,v 1.2 2003/05/14 20:09:13 salo Exp $
Fixes potential remote buffer overflows. See the following url for more
details: http://securityfocus.com/archive/1/315057
Patch by caf@guarana.org.
---- source/names.c.orig 2003-03-29 21:48:19.000000000 +0100
-+++ source/names.c 2003-03-29 21:52:59.000000000 +0100
+Fix major core bug with channel mode -k * on hybrid7 servers.
+From BitchX CVS.
+
+--- source/names.c.orig 2002-03-25 21:47:30.000000000 +0100
++++ source/names.c 2003-05-14 21:51:01.000000000 +0200
@@ -572,7 +572,7 @@
*nmodes = 0;
@@ -25,3 +28,14 @@ Patch by caf@guarana.org.
{
if (tucm->o_ed)
{
+@@ -1003,8 +1003,9 @@
+ malloc_strcpy(key, next_arg(rest, &rest));
+ else
+ {
+- if (rest && *key && !my_strnicmp(rest, *key, strlen(*key)))
++ if (rest && *key && (!my_strnicmp(rest, *key, strlen(*key)) || rest[0] == '*'))
+ next_arg(rest, &rest);
++
+ new_free(key);
+ }
+ (*channel)->i_mode = -1;