[SCM] KDE PIM Libraries module packaging branch, kde4.8, updated. debian/4.8.3-1-11-g50c0dd0
José Manuel Santamaría Lema
santa-guest at alioth.debian.org
Fri Jun 8 05:25:46 UTC 2012
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kdepimlibs.git;a=commitdiff;h=50c0dd0
The following commit has been merged in the kde4.8 branch:
commit 50c0dd00365c7b442bc54872015c2de4f28e608b
Author: José Manuel Santamaría Lema <panfaust at gmail.com>
Date: Fri Jun 8 07:25:14 2012 +0200
Actually add crash_when_marking_folder_read.diff.
---
debian/patches/crash_when_marking_folder_read.diff | 36 ++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/debian/patches/crash_when_marking_folder_read.diff b/debian/patches/crash_when_marking_folder_read.diff
new file mode 100644
index 0000000..f25806c
--- /dev/null
+++ b/debian/patches/crash_when_marking_folder_read.diff
@@ -0,0 +1,36 @@
+From e537fb9bdbd9bbbc612d5521d974d64efbcda0a9 Mon Sep 17 00:00:00 2001
+From: Montel Laurent <montel at kde.org>
+Date: Wed, 6 Jun 2012 20:40:30 +0200
+Subject: [PATCH] Try to fix Bug 283272 - crash when marking folder read
+
+I don't know how status can be empty.
+But I fix as it. It will fix crash.
+If somebody which has this crash perhaps it can apply this patch and
+verify if it fixes bug.
+
+FIXED-IN: 4.8.5
+BUG: 283272
+(cherry picked from commit 67cfe2290a8c1817a92c6da65da001d267a0f24f)
+---
+ akonadi/kmime/markascommand.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/akonadi/kmime/markascommand.cpp b/akonadi/kmime/markascommand.cpp
+index 96281d5..e8c5974 100644
+--- a/akonadi/kmime/markascommand.cpp
++++ b/akonadi/kmime/markascommand.cpp
+@@ -104,7 +104,10 @@ void MarkAsCommand::markMessages()
+
+ QSet<QByteArray> flags = mTargetStatus.statusFlags();
+ Q_ASSERT( flags.size() == 1 );
+- const Akonadi::Item::Flag flag = *(flags.begin());
++ Akonadi::Item::Flag flag;
++ if(!flags.isEmpty())
++ flag = *(flags.begin());
++
+ Akonadi::Item::List itemsToModify;
+ foreach( const Akonadi::Item &it, mMessages ) {
+ Akonadi::Item item( it );
+--
+1.7.10
+
--
KDE PIM Libraries module packaging
More information about the pkg-kde-commits
mailing list