[evolution-data-server/gnome-2-32] Bug #624420 - Crash camel_imapx_server_append_message
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-32] Bug #624420 - Crash camel_imapx_server_append_message
- Date: Fri, 26 Nov 2010 08:13:12 +0000 (UTC)
commit da8e52eb4d2e796cf8286bca94af1fc9f938d7af
Author: Milan Crha <mcrha redhat com>
Date: Fri Nov 26 09:12:44 2010 +0100
Bug #624420 - Crash camel_imapx_server_append_message
camel/providers/imapx/camel-imapx-server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 87b1745..bde4026 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -5202,7 +5202,8 @@ camel_imapx_server_append_message(CamelIMAPXServer *is, CamelFolder *folder, Cam
tmp = camel_data_cache_get_filename (ifolder->cache, "new", uid, NULL);
info = camel_folder_summary_info_new_from_message((CamelFolderSummary *)folder->summary, message, NULL);
info->uid = camel_pstring_strdup (uid);
- ((CamelMessageInfoBase *) info)->flags = ((CamelMessageInfoBase *) mi)->flags;
+ if (mi)
+ ((CamelMessageInfoBase *) info)->flags = ((CamelMessageInfoBase *) mi)->flags;
g_free (uid);
/* So, we actually just want to let the server loop that
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]