Package: policykit-1 / 0.105-15~deb8u2

0.113/Don-t-discard-error-data-returned-by-polkit_system_b.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Miloslav Trma─Ź <mitr@redhat.com>
Date: Mon, 11 Nov 2013 23:51:23 +0100
Subject: [PATCH] Don't discard error data returned by
 polkit_system_bus_name_get_user_sync

https://bugs.freedesktop.org/show_bug.cgi?id=71458

Origin: upstream, 0.113, commit: 145d43b9c891f248ad68ebe597cb151a865bdb3a
Bug-Debian: https://bugs.debian.org/798769
---
 src/polkitbackend/polkitbackendsessionmonitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/polkitbackend/polkitbackendsessionmonitor.c b/src/polkitbackend/polkitbackendsessionmonitor.c
index 05f51c5..e1a9ab3 100644
--- a/src/polkitbackend/polkitbackendsessionmonitor.c
+++ b/src/polkitbackend/polkitbackendsessionmonitor.c
@@ -306,7 +306,7 @@ polkit_backend_session_monitor_get_user_for_subject (PolkitBackendSessionMonitor
     }
   else if (POLKIT_IS_SYSTEM_BUS_NAME (subject))
     {
-      ret = (PolkitIdentity*)polkit_system_bus_name_get_user_sync (POLKIT_SYSTEM_BUS_NAME (subject), NULL, NULL);
+      ret = (PolkitIdentity*)polkit_system_bus_name_get_user_sync (POLKIT_SYSTEM_BUS_NAME (subject), NULL, error);
     }
   else if (POLKIT_IS_UNIX_SESSION (subject))
     {
-- 
2.1.4