Commit 62810e82 authored by Martin Pitt's avatar Martin Pitt

New upstream release 0.99.3

  - Support Logitech Unifying in Linux 3.19+ (Closes: #785725, LP: #1448834)
  - Fix Bluetooth HID batteries with recent kernels (Closes: #772095,
    LP: #772095)

Drop git_init_variants.patch, included in this release.
parent 042d229f
upower (0.99.3-1) UNRELEASED; urgency=medium
* New upstream release:
- Support Logitech Unifying in Linux 3.19+ (Closes: #785725, LP: #1448834)
- Fix Bluetooth HID batteries with recent kernels (Closes: #772095,
LP: #772095)
* Drop git_init_variants.patch, included in this release.
-- Martin Pitt <mpitt@debian.org> Fri, 29 May 2015 10:14:35 +0200
upower (0.99.2-3) unstable; urgency=medium
* Update Vcs-* fields for anonscm.d.o.
......
From 2510148b16a71504dff3880c8af416fd85a2885d Mon Sep 17 00:00:00 2001
From: Vlad Orlov <monsta@inbox.ru>
Date: Fri, 13 Mar 2015 13:17:31 +0100
Subject: [PATCH] lib: Fix crash on uninitialized variant
Initialize the GVariant* pointers, so that they aren't uninitialized when
jumping to "out:" and unref'ing them.
https://bugs.freedesktop.org/show_bug.cgi?id=89476
https://bugs.debian.org/774546
https://bugs.launchpad.net/ubuntu-mate/+bug/1428337
---
libupower-glib/up-device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c
index 9f6e0e1..f053f3d 100644
--- a/libupower-glib/up-device.c
+++ b/libupower-glib/up-device.c
@@ -422,7 +422,7 @@ GPtrArray *
up_device_get_history_sync (UpDevice *device, const gchar *type, guint timespec, guint resolution, GCancellable *cancellable, GError **error)
{
GError *error_local = NULL;
- GVariant *gva;
+ GVariant *gva = NULL;
guint i;
GPtrArray *array = NULL;
gboolean ret;
@@ -502,7 +502,7 @@ GPtrArray *
up_device_get_statistics_sync (UpDevice *device, const gchar *type, GCancellable *cancellable, GError **error)
{
GError *error_local = NULL;
- GVariant *gva;
+ GVariant *gva = NULL;
guint i;
GPtrArray *array = NULL;
gboolean ret;
--
2.1.4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment