evolution-exchange r1876 - in trunk: . mail
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-exchange r1876 - in trunk: . mail
- Date: Fri, 13 Feb 2009 10:21:12 +0000 (UTC)
Author: mcrha
Date: Fri Feb 13 10:21:12 2009
New Revision: 1876
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1876&view=rev
Log:
2009-02-13 Milan Crha <mcrha redhat com>
** Partial fix for bug #545455
* mail-stub-exchange.c: (transfer_messages):
Check for the correct href of the message before accessing it.
Modified:
trunk/ChangeLog
trunk/mail/mail-stub-exchange.c
Modified: trunk/mail/mail-stub-exchange.c
==============================================================================
--- trunk/mail/mail-stub-exchange.c (original)
+++ trunk/mail/mail-stub-exchange.c Fri Feb 13 10:21:12 2009
@@ -2641,6 +2641,11 @@
if (!mmsg)
continue;
+ if (!mmsg->href || !strrchr (mmsg->href, '/')) {
+ g_warning ("%s: Message '%s' with invalid href '%s'", G_STRFUNC, (char *)uids->pdata[i], mmsg->href ? mmsg->href : "NULL");
+ continue;
+ }
+
g_hash_table_insert (order, mmsg, GINT_TO_POINTER (i));
g_ptr_array_add (hrefs, strrchr (mmsg->href, '/') + 1);
g_ptr_array_add (new_uids, "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]