[evolution-data-server] BUG 606811 - evolution crashed in match_content_type at camel-folder-summary.c:5066
- From: Bharath Acharya <abharath src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] BUG 606811 - evolution crashed in match_content_type at camel-folder-summary.c:5066
- Date: Thu, 11 Feb 2010 10:17:24 +0000 (UTC)
commit 1eb27f2c5c6bf12d0fadfcc8353487671b0415e3
Author: Bharath Acharya <abharath novell com>
Date: Thu Feb 11 15:48:58 2010 +0530
BUG 606811 - evolution crashed in match_content_type at camel-folder-summary.c:5066
Avoids the crash. Regression because of
http://git.gnome.org/browse/evolution/commit/?id=6a72dacb7db51cd0f6b84e9aefd248677c0ff4e0
camel/camel-folder-summary.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 90a10e4..96574a7 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -5085,7 +5085,7 @@ camel_folder_summary_guess_content_info (CamelMessageInfo *mi, CamelContentType
const CamelMessageContentInfo *child = ci;
do {
- if (match_content_type (child->type, ctype))
+ if (child->type && match_content_type (child->type, ctype))
return child;
child = child->next;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]