summaryrefslogtreecommitdiff
path: root/irc/xchat
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-18 15:57:41 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-18 15:57:41 +0000
commit71da93b153af5791e9c66b379ade755646bebb9e (patch)
treec92c0e5a11a8c88a7f9d56213b3bf58b7ff08535 /irc/xchat
parentBIG Update of Mambo 4.5.4 to 4.6.1 (diff)
- Fix a security problem
Obtained from: Peter Zelezny <zed@xchat.org> (author)
Diffstat (limited to 'irc/xchat')
-rw-r--r--irc/xchat/Makefile2
-rw-r--r--irc/xchat/files/patch-xc264-sec-url12
2 files changed, 13 insertions, 1 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index 03104fe653e6..01b7052ea65a 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xchat
PORTVERSION= 2.6.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc gnome ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://xchat.org/files/source/2.6/
diff --git a/irc/xchat/files/patch-xc264-sec-url b/irc/xchat/files/patch-xc264-sec-url
new file mode 100644
index 000000000000..190cc6f5d8be
--- /dev/null
+++ b/irc/xchat/files/patch-xc264-sec-url
@@ -0,0 +1,12 @@
+--- src/common/util.c 2006-10-14 15:47:44.000000000 +1000
++++ src/common/util.c 2006-12-17 13:22:01.000000000 +1100
+@@ -1178,7 +1178,8 @@
+ if (*src != quote) *buf++ = '\\';
+ }
+ *buf++ = *src;
+- } else if (isspace((unsigned char) *src)) {
++ /*} else if (isspace((unsigned char) *src)) {*/
++ } else if (*src == ' ') {
+ if (*argv[argc]) {
+ buf++, argc++;
+ if (argc == argvAlloced) {