[evolution-mapi] Bug #634486 - Crash when receiving message without body
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #634486 - Crash when receiving message without body
- Date: Wed, 4 May 2011 12:52:37 +0000 (UTC)
commit b403eadd99c0226aa7fb3993bda45765eb3c4ce0
Author: Milan Crha <mcrha redhat com>
Date: Wed May 4 14:51:41 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]