[evolution-mapi/gnome-2-30] Bug #601680 - Crash in exchange-mapi-cal-utils.c:check_server_for_object



commit f4f98b32b4341d6e7d982f4ef0683bb1201d249f
Author: Milan Crha <mcrha redhat com>
Date:   Thu May 13 11:40:15 2010 +0200

    Bug #601680 - Crash in exchange-mapi-cal-utils.c:check_server_for_object

 src/libexchangemapi/exchange-mapi-cal-utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-cal-utils.c b/src/libexchangemapi/exchange-mapi-cal-utils.c
index 129b616..adf4e30 100644
--- a/src/libexchangemapi/exchange-mapi-cal-utils.c
+++ b/src/libexchangemapi/exchange-mapi-cal-utils.c
@@ -1241,6 +1241,7 @@ check_server_for_object (struct mapi_SPropValue_array *properties, mapi_id_t *mi
 	fid = exchange_mapi_get_default_folder_id (olFolderCalendar);
 
 	array = exchange_mapi_util_resolve_named_prop (olFolderCalendar, fid, 0x0023, PSETID_Meeting);
+	g_return_if_fail (array != NULL);
 	proptag = array->aulPropTag[0];
 
 	res.rt = RES_PROPERTY;



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