+ geoclue2-2.4.10-1
Update to 2.4.10
This commit is contained in:
parent
82abd08250
commit
40c7448af3
38
0001-service-client-Fix-crash-on-startup.patch
Normal file
38
0001-service-client-Fix-crash-on-startup.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 96e7e1a75029844efc6ba72ba2e997c05843d18b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Bastien Nocera <hadess@hadess.net>
|
||||||
|
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
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
Name: geoclue2
|
Name: geoclue2
|
||||||
Version: 2.4.9
|
Version: 2.4.10
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Geolocation service
|
Summary: Geolocation service
|
||||||
|
|
||||||
@ -141,6 +141,10 @@ exit 0
|
|||||||
%{_datadir}/applications/geoclue-where-am-i.desktop
|
%{_datadir}/applications/geoclue-where-am-i.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.10-1
|
||||||
|
+ geoclue2-2.4.10-1
|
||||||
|
- Update to 2.4.10
|
||||||
|
|
||||||
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.9-1
|
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.9-1
|
||||||
+ geoclue2-2.4.9-1
|
+ geoclue2-2.4.9-1
|
||||||
- Update to 2.4.9
|
- Update to 2.4.9
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (geoclue-2.4.9.tar.xz) = 60e50a5587d28611b5da86c456d72ccd4ce7fde50d18246098dc99f72830d02151368fcb3505bdd654cd577ca34bbb1179b17fef2d3cfedd0d746befdee68101
|
SHA512 (geoclue-2.4.10.tar.xz) = 5e6d620d752de1b72ee064f286f0fdef9ef9c4d695f55379de5a1d7e1e15bddc2dc2596ceefa6f3714b9532d67e49042babc6bcec1ad5a9cacee67da9d481f5c
|
||||||
|
Loading…
Reference in New Issue
Block a user