From b4fb647bef6d9537c1a759460f1b25c2e2454f2c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 27 Sep 2012 21:35:22 -0400 Subject: [PATCH 2/2] hardening: Ensure _dbus_check_setuid() is initialized threadsafe manner This is a highly theoretical concern, but we might as well. --- dbus/dbus-sysdeps-pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dbus/dbus-sysdeps-pthread.c b/dbus/dbus-sysdeps-pthread.c index c9ec9e5..085a2dd 100644 --- a/dbus/dbus-sysdeps-pthread.c +++ b/dbus/dbus-sysdeps-pthread.c @@ -276,5 +276,6 @@ dbus_bool_t _dbus_threads_init_platform_specific (void) { check_monotonic_clock (); + (void) _dbus_check_setuid (); return dbus_threads_init (NULL); } -- 1.7.11.4