diff options
author | lofi <lofi@FreeBSD.org> | 2007-01-10 08:35:49 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-01-10 08:35:49 +0800 |
commit | e5aa93e4ebbab519b41df89b391305ad074f0610 (patch) | |
tree | 1514ee8406825f040cd9c48368027bbcca31064b /net/kdenetwork4 | |
parent | 817b1001d75cc2a69a5661f1bc728cbc117b5d93 (diff) | |
download | freebsd-ports-gnome-e5aa93e4ebbab519b41df89b391305ad074f0610.tar.gz freebsd-ports-gnome-e5aa93e4ebbab519b41df89b391305ad074f0610.tar.zst freebsd-ports-gnome-e5aa93e4ebbab519b41df89b391305ad074f0610.zip |
Security: Fix CVE-2006-6811
Diffstat (limited to 'net/kdenetwork4')
-rw-r--r-- | net/kdenetwork4/Makefile | 1 | ||||
-rw-r--r-- | net/kdenetwork4/files/patch-post-3.5.5-kdenetwork-ksirc.diff | 26 |
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); |