summaryrefslogtreecommitdiff
path: root/libre/hplip-libre/hplip-CVE-2013-4325.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-13 23:00:32 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-13 23:00:32 -0200
commit93c27a82bfdb9e6fd99264741a1b58b68c9143a2 (patch)
tree695b731d00801b2dcbeba9114224910c26fe7740 /libre/hplip-libre/hplip-CVE-2013-4325.patch
parentb46af7b7af67a467278e630d534e13bfd3783e9a (diff)
downloadabslibre-93c27a82bfdb9e6fd99264741a1b58b68c9143a2.tar.gz
abslibre-93c27a82bfdb9e6fd99264741a1b58b68c9143a2.tar.bz2
abslibre-93c27a82bfdb9e6fd99264741a1b58b68c9143a2.zip
hplip-libre-3.13.9-3: updating revision
* add patch for CVE-2013-4325; FS#37168 => https://bugs.archlinux.org/task/37168
Diffstat (limited to 'libre/hplip-libre/hplip-CVE-2013-4325.patch')
-rw-r--r--libre/hplip-libre/hplip-CVE-2013-4325.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/libre/hplip-libre/hplip-CVE-2013-4325.patch b/libre/hplip-libre/hplip-CVE-2013-4325.patch
new file mode 100644
index 000000000..85bff893b
--- /dev/null
+++ b/libre/hplip-libre/hplip-CVE-2013-4325.patch
@@ -0,0 +1,22 @@
+diff -up hplip-3.13.7/base/pkit.py.CVE-2013-4325 hplip-3.13.7/base/pkit.py
+--- hplip-3.13.7/base/pkit.py.CVE-2013-4325 2013-07-23 06:18:29.000000000 +0100
++++ hplip-3.13.7/base/pkit.py 2013-09-11 10:54:13.252419283 +0100
+@@ -176,15 +176,10 @@ class PolicyKitService(dbus.service.Obje
+ "/org/freedesktop/PolicyKit1/Authority",
+ "org.freedesktop.PolicyKit1.Authority")
+ policy_kit = dbus.Interface(obj, "org.freedesktop.PolicyKit1.Authority")
+- info = dbus.Interface(connection.get_object("org.freedesktop.DBus",
+- "/org/freedesktop/DBus/Bus",
+- False),
+- "org.freedesktop.DBus")
+- pid = info.GetConnectionUnixProcessID(sender)
+
+ subject = (
+- 'unix-process',
+- { 'pid' : dbus.UInt32(pid, variant_level = 1) }
++ 'system-bus-name',
++ { 'name' : dbus.String(sender, variant_level = 1) }
+ )
+ details = { '' : '' }
+ flags = dbus.UInt32(1) # AllowUserInteraction = 0x00000001
+