22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
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
|