From 40c7448af30edb55385cf25de2b913a84de5da70 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: May 03 2018 14:52:16 +0000 Subject: + geoclue2-2.4.10-1 Update to 2.4.10 --- diff --git a/0001-service-client-Fix-crash-on-startup.patch b/0001-service-client-Fix-crash-on-startup.patch new file mode 100644 index 0000000..be3711d --- /dev/null +++ b/0001-service-client-Fix-crash-on-startup.patch @@ -0,0 +1,38 @@ +From 96e7e1a75029844efc6ba72ba2e997c05843d18b Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Thu, 3 May 2018 13:07:20 +0200 +Subject: [PATCH] service-client: Fix crash on startup + +Make sure to not dereference a NULL StartData when geoclue gets started. + +https://bugs.freedesktop.org/show_bug.cgi?id=106236 +--- + src/gclue-service-client.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/src/gclue-service-client.c b/src/gclue-service-client.c +index b969db6..a5bfa2c 100644 +--- a/src/gclue-service-client.c ++++ b/src/gclue-service-client.c +@@ -460,6 +460,8 @@ handle_pending_auth (gpointer user_data) + StartData *data = priv->pending_auth_start_data; + guint32 uid; + ++ g_return_val_if_fail (data != NULL, G_SOURCE_REMOVE); ++ + uid = gclue_client_info_get_user_id (priv->client_info); + if (priv->agent_proxy == NULL) { + g_dbus_method_invocation_return_error (data->invocation, +@@ -698,7 +700,8 @@ gclue_service_client_set_property (GObject *object, + "g-properties-changed", + G_CALLBACK (on_agent_props_changed), + object); +- handle_pending_auth (client); ++ if (client->priv->pending_auth_start_data != NULL) ++ handle_pending_auth (client); + break; + + default: +-- +2.17.0 + diff --git a/geoclue2.spec b/geoclue2.spec index 1c83552..6e0a913 100644 --- a/geoclue2.spec +++ b/geoclue2.spec @@ -1,5 +1,5 @@ Name: geoclue2 -Version: 2.4.9 +Version: 2.4.10 Release: 1%{?dist} Summary: Geolocation service @@ -141,6 +141,10 @@ exit 0 %{_datadir}/applications/geoclue-where-am-i.desktop %changelog +* Thu May 03 2018 Bastien Nocera - 2.4.10-1 ++ geoclue2-2.4.10-1 +- Update to 2.4.10 + * Thu May 03 2018 Bastien Nocera - 2.4.9-1 + geoclue2-2.4.9-1 - Update to 2.4.9 diff --git a/sources b/sources index a5a0e2c..62bd623 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (geoclue-2.4.9.tar.xz) = 60e50a5587d28611b5da86c456d72ccd4ce7fde50d18246098dc99f72830d02151368fcb3505bdd654cd577ca34bbb1179b17fef2d3cfedd0d746befdee68101 +SHA512 (geoclue-2.4.10.tar.xz) = 5e6d620d752de1b72ee064f286f0fdef9ef9c4d695f55379de5a1d7e1e15bddc2dc2596ceefa6f3714b9532d67e49042babc6bcec1ad5a9cacee67da9d481f5c