summaryrefslogtreecommitdiff
path: root/libre/kdelibs-libre/kdelibs-cve-2014-5033.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-03 06:57:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-03 06:57:55 -0300
commit588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2 (patch)
treed43ec3a35b5631bfb65a8d381f34b23270e6907a /libre/kdelibs-libre/kdelibs-cve-2014-5033.patch
parent4ae5aae85842d364d28b0ae2ac0ad40bec3a778a (diff)
kde packages: remove libre and nonprism suffixes, add complex pkgrel
Diffstat (limited to 'libre/kdelibs-libre/kdelibs-cve-2014-5033.patch')
-rw-r--r--libre/kdelibs-libre/kdelibs-cve-2014-5033.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/libre/kdelibs-libre/kdelibs-cve-2014-5033.patch b/libre/kdelibs-libre/kdelibs-cve-2014-5033.patch
deleted file mode 100644
index c85eccd6b..000000000
--- a/libre/kdelibs-libre/kdelibs-cve-2014-5033.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/kdecore/auth/backends/polkit-1/Polkit1Backend.cpp
-+++ b/kdecore/auth/backends/polkit-1/Polkit1Backend.cpp
-@@ -144,7 +144,7 @@
-
- Action::AuthStatus Polkit1Backend::actionStatus(const QString &action)
- {
-- PolkitQt1::UnixProcessSubject subject(QCoreApplication::applicationPid());
-+ PolkitQt1::SystemBusNameSubject subject(QString::fromUtf8(callerID()));
- PolkitQt1::Authority::Result r = PolkitQt1::Authority::instance()->checkAuthorizationSync(action, subject,
- PolkitQt1::Authority::None);
- switch (r) {
-@@ -160,21 +160,12 @@
-
- QByteArray Polkit1Backend::callerID() const
- {
-- QByteArray a;
-- QDataStream s(&a, QIODevice::WriteOnly);
-- s << QCoreApplication::applicationPid();
--
-- return a;
-+ return QDBusConnection::systemBus().baseService().toUtf8();
- }
-
- bool Polkit1Backend::isCallerAuthorized(const QString &action, QByteArray callerID)
- {
-- QDataStream s(&callerID, QIODevice::ReadOnly);
-- qint64 pid;
--
-- s >> pid;
--
-- PolkitQt1::UnixProcessSubject subject(pid);
-+ PolkitQt1::SystemBusNameSubject subject(QString::fromUtf8(callerID));
- PolkitQt1::Authority *authority = PolkitQt1::Authority::instance();
-
- PolkitResultEventLoop e;
-