evolution-data-server r9364 - trunk/camel
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9364 - trunk/camel
- Date: Mon, 18 Aug 2008 04:11:54 +0000 (UTC)
Author: msuman
Date: Mon Aug 18 04:11:54 2008
New Revision: 9364
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9364&view=rev
Log:
Patch from Priit Laes  <plaes plaes org>: Fix for bug #548059 (NULL check message-id before accessing its elements).
Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-folder-thread.c
Modified: trunk/camel/camel-folder-thread.c
==============================================================================
--- trunk/camel/camel-folder-thread.c	(original)
+++ trunk/camel/camel-folder-thread.c	Mon Aug 18 04:11:54 2008
@@ -452,7 +452,7 @@
 		const CamelSummaryMessageID *mid = camel_message_info_message_id(mi);
 		const CamelSummaryReferences *references = camel_message_info_references(mi);
 
-		if (mid->id.id) {
+		if (mid != NULL && mid->id.id) {
 			c = g_hash_table_lookup(id_table, mid);
 			/* check for duplicate messages */
 			if (c && c->order) {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]