[evolution-mapi/gnome-3-0] Bug #634486 - Crash when receiving message without body
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-3-0] Bug #634486 - Crash when receiving message without body
- Date: Wed, 4 May 2011 12:53:06 +0000 (UTC)
commit ce8561198e62dc8cd4c2ba47b988f9e4cb040f36
Author: Milan Crha <mcrha redhat com>
Date: Wed May 4 14:52:31 2011 +0200
Bug #634486 - Crash when receiving message without body
src/libexchangemapi/exchange-mapi-mail-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-mail-utils.c b/src/libexchangemapi/exchange-mapi-mail-utils.c
index 1d27bae..5a4c06f 100644
--- a/src/libexchangemapi/exchange-mapi-mail-utils.c
+++ b/src/libexchangemapi/exchange-mapi-mail-utils.c
@@ -907,7 +907,7 @@ mapi_mail_item_to_mime_message (ExchangeMapiConnection *conn, MailItem *item)
inline_attachs);
} else if (build_related) {
multipart_body = mapi_mime_build_multipart_related (item,
- item->msg.body_parts->data,
+ item->msg.body_parts ? item->msg.body_parts->data : NULL,
inline_attachs);
} else { /* Simple multipart/mixed */
CamelMimePart *part;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]