Hello community, here is the log from the commit of package kdeconnect-kde for openSUSE:Factory checked in at 2018-02-22 15:02:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdeconnect-kde (Old) and /work/SRC/openSUSE:Factory/.kdeconnect-kde.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdeconnect-kde" Thu Feb 22 15:02:34 2018 rev:8 rq:578840 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kdeconnect-kde/kdeconnect-kde.changes 2018-02-01 21:30:17.146555314 +0100 +++ /work/SRC/openSUSE:Factory/.kdeconnect-kde.new/kdeconnect-kde.changes 2018-02-22 15:02:35.841677253 +0100 @@ -1,0 +2,7 @@ +Tue Feb 20 15:47:11 UTC 2018 - [email protected] + +- Add 0001-Fix-null-dereference.patch to fix a null dereference. + +- Add signature file kdeconnect-kde-v1.2.1.tar.xz.sig + +------------------------------------------------------------------- New: ---- 0001-Fix-null-dereference.patch kdeconnect-kde-v1.2.1.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdeconnect-kde.spec ++++++ --- /var/tmp/diff_new_pack.NrIzFy/_old 2018-02-22 15:02:36.913638691 +0100 +++ /var/tmp/diff_new_pack.NrIzFy/_new 2018-02-22 15:02:36.913638691 +0100 @@ -24,8 +24,11 @@ Group: Productivity/Networking/Other Url: https://projects.kde.org/projects/playground/base/kdeconnect-kde Source: http://download.kde.org/stable/kdeconnect/%{version}/src/%{name}-v%{version}.tar.xz +Source1: https://download.kde.org/stable/kdeconnect/%{version}/src/%{name}-v%{version}.tar.xz.sig Source100: kdeconnect-kde.SuSEfirewall Source101: kdeconnect-kde-firewalld.xml +# PATCH-FIX-UPSTREAM 0001-Fix-null-dereference.patch +Patch0: 0001-Fix-null-dereference.patch BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: kf5-filesystem @@ -70,6 +73,7 @@ %{lang_package} %prep %setup -q -n %{name}-v%{version} +%patch0 -p1 %build %cmake_kf5 -d build ++++++ 0001-Fix-null-dereference.patch ++++++ >From 6495e8dc538610fb679df0f1522243103a3a1789 Mon Sep 17 00:00:00 2001 From: Aleix Pol <[email protected]> Date: Tue, 30 Jan 2018 17:43:58 +0100 Subject: On my system the notification is null It may be a bug, but we better not crash anyway --- plugins/notifications/notificationsdbusinterface.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/notifications/notificationsdbusinterface.cpp b/plugins/notifications/notificationsdbusinterface.cpp index 47e54a3..c0505c6 100644 --- a/plugins/notifications/notificationsdbusinterface.cpp +++ b/plugins/notifications/notificationsdbusinterface.cpp @@ -91,8 +91,11 @@ void NotificationsDbusInterface::processPackage(const NetworkPackage& np) }); } } else { - QString pubId = m_internalIdToPublicId[id]; - Notification* noti = m_notifications[pubId]; + QString pubId = m_internalIdToPublicId.value(id); + Notification* noti = m_notifications.value(pubId); + if (!noti) + return; + noti->update(np); if (noti->isReady()) { -- cgit v0.11.2
