svn commit: r372966 - in head/x11/kde4-runtime: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Thu Nov 20 21:31:56 UTC 2014
Author: rakuco
Date: Thu Nov 20 21:31:54 2014
New Revision: 372966
URL: https://svnweb.freebsd.org/changeset/ports/372966
QAT: https://qat.redports.org/buildarchive/r372966/
Log:
Add upstream patch for CVE-2014-8600 (insufficient input validation).
MFH: 2014Q4
Security: 890b6b22-70fa-11e4-91ae-5453ed2e2b49
Added:
head/x11/kde4-runtime/files/patch-kioslave__bookmarks__kio_bookmarks.cpp (contents, props changed)
Modified:
head/x11/kde4-runtime/Makefile
Modified: head/x11/kde4-runtime/Makefile
==============================================================================
--- head/x11/kde4-runtime/Makefile Thu Nov 20 21:31:17 2014 (r372965)
+++ head/x11/kde4-runtime/Makefile Thu Nov 20 21:31:54 2014 (r372966)
@@ -2,7 +2,7 @@
PORTNAME= kde-runtime
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
Added: head/x11/kde4-runtime/files/patch-kioslave__bookmarks__kio_bookmarks.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/kde4-runtime/files/patch-kioslave__bookmarks__kio_bookmarks.cpp Thu Nov 20 21:31:54 2014 (r372966)
@@ -0,0 +1,25 @@
+commit d68703900edc8416fbcd2550cd336cbbb76decb9
+Author: Martin Sandsmark <martin.sandsmark at kde.org>
+Date: Thu Nov 13 13:29:01 2014 +0100
+
+ Sanitize path
+
+--- kioslave/bookmarks/kio_bookmarks.cpp
++++ kioslave/bookmarks/kio_bookmarks.cpp
+@@ -22,6 +22,7 @@
+ #include <stdlib.h>
+
+ #include <qregexp.h>
++#include <qtextdocument.h>
+
+ #include <kapplication.h>
+ #include <kcmdlineargs.h>
+@@ -197,7 +198,7 @@ void BookmarksProtocol::get( const KUrl& url )
+ echoImage(regexp.cap(1), regexp.cap(2), url.queryItem("size"));
+ } else {
+ echoHead();
+- echo("<p class=\"message\">" + i18n("Wrong request: %1",path) + "</p>");
++ echo("<p class=\"message\">" + i18n("Bad request: %1", Qt::escape(Qt::escape(url.prettyUrl()))) + "</p>");
+ }
+ finished();
+ }
More information about the svn-ports-head
mailing list