[evolution] Bug #601229 - Crashes when replying a mail.



commit 39b456243022a8ade0ae45512cc636eac0f7fc81
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Mon Nov 9 14:47:10 2009 +0530

    Bug #601229 -  Crashes when replying a mail.

 em-format/em-format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 1285bcb..d3ab13b 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1632,7 +1632,7 @@ emf_multipart_related(EMFormat *emf, CamelStream *stream, CamelMimePart *part, c
 
 	link = g_queue_peek_head_link (emf->pending_uri_level->data);
 
-	while (link->next != NULL) {
+	while (link && link->next != NULL) {
 		EMFormatPURI *puri = link->data;
 
 		if (puri->use_count == 0) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]