evolution r35394 - branches/gnome-2-22/plugins/exchange-operations



Author: abharath
Date: Mon Apr 21 06:37:24 2008
New Revision: 35394
URL: http://svn.gnome.org/viewvc/evolution?rev=35394&view=rev

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

Modified:
   branches/gnome-2-22/plugins/exchange-operations/ChangeLog
   branches/gnome-2-22/plugins/exchange-operations/exchange-folder-permission.c

Modified: branches/gnome-2-22/plugins/exchange-operations/exchange-folder-permission.c
==============================================================================
--- branches/gnome-2-22/plugins/exchange-operations/exchange-folder-permission.c	(original)
+++ branches/gnome-2-22/plugins/exchange-operations/exchange-folder-permission.c	Mon Apr 21 06:37:24 2008
@@ -170,6 +170,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]