From 6e000c52350f1ea87506d069e0240e4ee98aa5fb Mon Sep 17 00:00:00 2001 From: lofi Date: Fri, 6 May 2005 16:53:11 +0000 Subject: Fix regressions introduced in the previous KDE security updates: The Kimgio patch broke reading of .rgb images in most cases due to a fence-post error. The Kommander patch was incorrect and still allowed execution of files served from /tmp. Security: References: http://www.kde.org/info/security/advisory-20050421-1.txt http://www.kde.org/info/security/advisory-20050420-1.txt --- www/kdewebdev/Makefile | 2 +- www/kdewebdev/files/patch-post-3.4.0-kdewebdev-kommander | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www/kdewebdev') diff --git a/www/kdewebdev/Makefile b/www/kdewebdev/Makefile index efecbe45be04..9b13290c52d4 100644 --- a/www/kdewebdev/Makefile +++ b/www/kdewebdev/Makefile @@ -7,7 +7,7 @@ PORTNAME= kdewebdev PORTVERSION= ${KDE_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= www kde MASTER_SITES= ${MASTER_SITE_KDE} diff --git a/www/kdewebdev/files/patch-post-3.4.0-kdewebdev-kommander b/www/kdewebdev/files/patch-post-3.4.0-kdewebdev-kommander index 78f6aecad8cb..5260fb2f0404 100644 --- a/www/kdewebdev/files/patch-post-3.4.0-kdewebdev-kommander +++ b/www/kdewebdev/files/patch-post-3.4.0-kdewebdev-kommander @@ -34,7 +34,7 @@ diff -u -3 -d -p -r1.49 -r1.49.2.3 + + bool inTemp = false; + for (QStringList::ConstIterator I = tmpDirs.begin(); I != tmpDirs.end(); ++I) -+ if (m_uiFileName.directory().startsWith(*I)) ++ if (m_uiFileName.directory(false).startsWith(*I)) + inTemp = true; + + if (inTemp) -- cgit