diff -Nru upower-0.99.1/debian/changelog upower-0.99.1/debian/changelog --- upower-0.99.1/debian/changelog 2014-11-28 18:42:02.000000000 +0300 +++ upower-0.99.1/debian/changelog 2015-03-04 11:39:31.000000000 +0300 @@ -1,3 +1,11 @@ +upower (0.99.1-3.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * null-init-pointers.patch: new patch. Properly initialize two + pointers, avoid segfaults. + + -- Vlad Orlov Wed, 04 Mar 2015 11:38:31 +0300 + upower (0.99.1-3.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru upower-0.99.1/debian/patches/null-init-pointers.patch upower-0.99.1/debian/patches/null-init-pointers.patch --- upower-0.99.1/debian/patches/null-init-pointers.patch 1970-01-01 03:00:00.000000000 +0300 +++ upower-0.99.1/debian/patches/null-init-pointers.patch 2015-03-04 11:41:19.000000000 +0300 @@ -0,0 +1,22 @@ +Index: upower-0.99.1/libupower-glib/up-device.c +=================================================================== +--- upower-0.99.1.orig/libupower-glib/up-device.c ++++ upower-0.99.1/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; diff -Nru upower-0.99.1/debian/patches/series upower-0.99.1/debian/patches/series --- upower-0.99.1/debian/patches/series 2014-11-28 18:24:28.000000000 +0300 +++ upower-0.99.1/debian/patches/series 2015-03-04 11:40:31.000000000 +0300 @@ -2,3 +2,4 @@ git-tests-py3.4.patch git-split-tests.patch git-fix-memleak.patch +null-init-pointers.patch