evolution r35392 - trunk/plugins/exchange-operations



Author: abharath
Date: Mon Apr 21 05:09:43 2008
New Revision: 35392
URL: http://svn.gnome.org/viewvc/evolution?rev=35392&view=rev

Log:
Fixes bnc #378203 * exchange-folder-permission.c: (org_gnome_exchange_folder_permissions): Return sanely if the path value is corrupted

Modified:
   trunk/plugins/exchange-operations/ChangeLog
   trunk/plugins/exchange-operations/exchange-folder-permission.c

Modified: trunk/plugins/exchange-operations/exchange-folder-permission.c
==============================================================================
--- trunk/plugins/exchange-operations/exchange-folder-permission.c	(original)
+++ trunk/plugins/exchange-operations/exchange-folder-permission.c	Mon Apr 21 05:09:43 2008
@@ -169,6 +169,10 @@
 		return;
 
 	path = target->uri + strlen ("exchange://") + strlen (account->account_filename);
+
+	if (!path || !*path)
+		return;
+
 	fixed_path = camel_url_decode_path (path);
 	d(g_print ("exchange-folder-permission.c: path=[%s], fixed_path=[%s]\n", path, fixed_path));
 



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