aboutsummaryrefslogtreecommitdiff
path: root/net/kdenetwork4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-01-10 00:35:49 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-01-10 00:35:49 +0000
commit34da1e4df7b5e5757852d15a2f8c08ba97f7d610 (patch)
tree48d8d622935614d5ecff3a556cb8d0063f4d126e /net/kdenetwork4
parent602ada98581ba06258c37f36dd47ede3408555e9 (diff)
downloadports-34da1e4df7b5e5757852d15a2f8c08ba97f7d610.tar.gz
ports-34da1e4df7b5e5757852d15a2f8c08ba97f7d610.zip
Notes
Diffstat (limited to 'net/kdenetwork4')
-rw-r--r--net/kdenetwork4/Makefile1
-rw-r--r--net/kdenetwork4/files/patch-post-3.5.5-kdenetwork-ksirc.diff26
2 files changed, 27 insertions, 0 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index e66369c90626..90188bce6974 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdenetwork
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES?= net kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/net/kdenetwork4/files/patch-post-3.5.5-kdenetwork-ksirc.diff b/net/kdenetwork4/files/patch-post-3.5.5-kdenetwork-ksirc.diff
new file mode 100644
index 000000000000..db3f82833b43
--- /dev/null
+++ b/net/kdenetwork4/files/patch-post-3.5.5-kdenetwork-ksirc.diff
@@ -0,0 +1,26 @@
+------------------------------------------------------------------------
+r621124 | mueller | 2007-01-08 11:33:10 +0100 (Mon, 08 Jan 2007) | 2 lines
+
+add fix for CVE-2006-6811
+
+------------------------------------------------------------------------
+Index: ksirc/iocontroller.cpp
+===================================================================
+--- ksirc/iocontroller.cpp (revision 621123)
++++ ksirc/iocontroller.cpp (revision 621124)
+@@ -266,13 +266,13 @@ void KSircIOController::stdout_read(KPro
+ if(ksopts->autoCreateWin == TRUE && line[0] != '`' && line[1] != '#' && line[1] != '&' && noticeCreate) {
+ //kdDebug(5008) << "Creating window for: " << qsname << " because of: " << line.data() << endl;
+ ksircproc->new_toplevel(KSircChannel(ksircproc->serverName(), qsname));
+- assert(ksircproc->TopList[qsname] != 0x0);
+ }
+- else{
++ if (!ksircproc->TopList[qsname]) {
+ qsname = "!default";
+ if(line[0] == '`')
+ qsname = "!discard";
+ }
++ assert(ksircproc->TopList[qsname]);
+ }
+
+ ksircproc->TopList[qsname]->sirc_receive(line);