diff -Nru upower-0.99.4/debian/changelog upower-0.99.4/debian/changelog --- upower-0.99.4/debian/changelog 2016-02-16 23:19:46.000000000 +0000 +++ upower-0.99.4/debian/changelog 2016-02-23 08:59:02.000000000 +0000 @@ -1,3 +1,12 @@ +upower (0.99.4-2) xenial; urgency=high + + * Urgency high as this is a targetted fix for RC bug in testing. + * Fix copy&paste error that called the wrong _complete_ function + for up_daemon_get_critical_action(), causing a segfault. + (Closes: #815590, LP: #1547793) + + -- Martin Pitt Tue, 23 Feb 2016 09:58:09 +0100 + upower (0.99.4-1) unstable; urgency=medium * New upstream release. diff -Nru upower-0.99.4/debian/patches/0001-daemon-fix-get_critical_action.patch upower-0.99.4/debian/patches/0001-daemon-fix-get_critical_action.patch --- upower-0.99.4/debian/patches/0001-daemon-fix-get_critical_action.patch 1970-01-01 00:00:00.000000000 +0000 +++ upower-0.99.4/debian/patches/0001-daemon-fix-get_critical_action.patch 2016-02-23 08:59:02.000000000 +0000 @@ -0,0 +1,31 @@ +From 28cee8e2845b094488c337c4ecfa84ada0b6be60 Mon Sep 17 00:00:00 2001 +From: Martin Pitt +Date: Tue, 23 Feb 2016 09:51:07 +0100 +Subject: [PATCH] daemon: fix get_critical_action() + +Fix copy&paste error from e7e9156f that called the wrong _complete_ function +for up_daemon_get_critical_action(). + +https://bugs.freedesktop.org/show_bug.cgi?id=94262 +--- + src/up-daemon.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/up-daemon.c b/src/up-daemon.c +index be14cbe..e95f904 100644 +--- a/src/up-daemon.c ++++ b/src/up-daemon.c +@@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton, + GDBusMethodInvocation *invocation, + UpDaemon *daemon) + { +- up_exported_daemon_complete_get_display_device (skeleton, invocation, +- up_backend_get_critical_action (daemon->priv->backend)); ++ up_exported_daemon_complete_get_critical_action (skeleton, invocation, ++ up_backend_get_critical_action (daemon->priv->backend)); + return TRUE; + } + +-- +2.7.0 + diff -Nru upower-0.99.4/debian/patches/series upower-0.99.4/debian/patches/series --- upower-0.99.4/debian/patches/series 2016-02-16 23:19:46.000000000 +0000 +++ upower-0.99.4/debian/patches/series 2016-02-23 08:59:02.000000000 +0000 @@ -0,0 +1 @@ +0001-daemon-fix-get_critical_action.patch