diff options
author | lofi <lofi@FreeBSD.org> | 2005-05-07 00:53:11 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-05-07 00:53:11 +0800 |
commit | 6e000c52350f1ea87506d069e0240e4ee98aa5fb (patch) | |
tree | bebccbe2f9f4cc308b93b57f0593a06576e8628a /www | |
parent | e9952c471e0848395113cb77ec5980561f832106 (diff) | |
download | freebsd-ports-graphics-6e000c52350f1ea87506d069e0240e4ee98aa5fb.tar.gz freebsd-ports-graphics-6e000c52350f1ea87506d069e0240e4ee98aa5fb.tar.zst freebsd-ports-graphics-6e000c52350f1ea87506d069e0240e4ee98aa5fb.zip |
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
Diffstat (limited to 'www')
-rw-r--r-- | www/kdewebdev/Makefile | 2 | ||||
-rw-r--r-- | www/kdewebdev/files/patch-post-3.4.0-kdewebdev-kommander | 2 | ||||
-rw-r--r-- | www/kdewebdev4/Makefile | 2 | ||||
-rw-r--r-- | www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/www/kdewebdev/Makefile b/www/kdewebdev/Makefile index efecbe45be0..9b13290c52d 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 78f6aecad8c..5260fb2f040 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) diff --git a/www/kdewebdev4/Makefile b/www/kdewebdev4/Makefile index efecbe45be0..9b13290c52d 100644 --- a/www/kdewebdev4/Makefile +++ b/www/kdewebdev4/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/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander b/www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander index 78f6aecad8c..5260fb2f040 100644 --- a/www/kdewebdev4/files/patch-post-3.4.0-kdewebdev-kommander +++ b/www/kdewebdev4/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) |