Hello community,

here is the log from the commit of package kdepim3 for openSUSE:Factory checked 
in at 2017-07-08 12:33:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdepim3 (Old)
 and      /work/SRC/openSUSE:Factory/.kdepim3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdepim3"

Sat Jul  8 12:33:52 2017 rev:27 rq:507781 version:3.5.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdepim3/kdepim3.changes  2016-07-15 
12:54:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdepim3.new/kdepim3.changes     2017-07-08 
12:34:19.555076166 +0200
@@ -1,0 +2,6 @@
+Mon Jul  3 10:58:59 UTC 2017 - an...@opensuse.org
+
+- fix NULL pointer dereference (patch from Trinity, bug 2773)
+  kdepim-trinity-fix-dereference.patch
+
+-------------------------------------------------------------------

New:
----
  kdepim-trinity-fix-dereference.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdepim3.spec ++++++
--- /var/tmp/diff_new_pack.EHuBg8/_old  2017-07-08 12:34:21.794760258 +0200
+++ /var/tmp/diff_new_pack.EHuBg8/_new  2017-07-08 12:34:21.794760258 +0200
@@ -89,6 +89,7 @@
 Patch147:       fix-perl-no-defined-array.diff
 Patch148:       kdepim-trinity-speed-up-kalarm.patch
 Patch149:       kdepim-trinity-fix-kalarm-events-error.patch
+Patch150:       kdepim-trinity-fix-dereference.patch
 
 Provides:       cryptplug
 Obsoletes:      cryptplug
@@ -301,6 +302,7 @@
 %patch147 -p1
 %patch148 -p1
 %patch149 -p1
+%patch150 -p1
 
 . /etc/opt/kde3/common_options
 update_admin

++++++ kdepim-trinity-fix-dereference.patch ++++++
>From eecb4690f18650b9139071301db63a24e6da0e39 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.ba...@axis.cz>
Date: Sun, 14 May 2017 10:34:25 +0000
Subject: Fix crash on NULL pointer dereference

This resolves Bug 2773

Signed-off-by: Slávek Banko <slavek.ba...@axis.cz>
---
diff --git a/korganizer/koeditorfreebusy.cpp b/korganizer/koeditorfreebusy.cpp
index 0ee9d4f..88c5414 100644
--- a/korganizer/koeditorfreebusy.cpp
+++ b/korganizer/koeditorfreebusy.cpp
@@ -817,10 +817,13 @@ 
 void KOEditorFreeBusy::clearSelection() const
 {
   KDGanttViewItem *item = mGanttView->selectedItem();
-  if ( item )
+  if (item) {
     mGanttView->setSelected( item, false );
+  }
   mGanttView->repaint();
-  item->repaint();
+  if (item) {
+    item->repaint();
+  }
 }
 
 void KOEditorFreeBusy::changeStatusForMe(KCal::Attendee::PartStat status)
--
cgit v0.9.0.2-52-g1de3

Reply via email to