aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Acharya <abharath@src.gnome.org>2008-04-21 13:09:43 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-04-21 13:09:43 +0800
commitd10522d18554de3e61f5973fe0f0ee0f9f8ae33a (patch)
treea5fa1520d0dbb2c69e91ac0475004c9843bae4c1
parent4ab6e5aa1e9041c624b135303d66cb6b88dfba23 (diff)
downloadgsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar
gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar.gz
gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar.bz2
gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar.lz
gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar.xz
gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar.zst
gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.zip
Fixes bnc #378203 * exchange-folder-permission.c: (org_gnome_exchange_folder_permissions): Return sanely if the path value is corrupted
svn path=/trunk/; revision=35392
-rw-r--r--plugins/exchange-operations/ChangeLog8
-rw-r--r--plugins/exchange-operations/exchange-folder-permission.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index cc2504171d..ae09aa819e 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-21 Bharath Acharya <abharath@novell.com>
+
+ Fixes bnc #378203
+
+ * exchange-folder-permission.c:
+ (org_gnome_exchange_folder_permissions): Return sanely if the path
+ value is corrupted.
+
2008-04-02 Matthew Barnes <mbarnes@redhat.com>
* Makefile.am:
diff --git a/plugins/exchange-operations/exchange-folder-permission.c b/plugins/exchange-operations/exchange-folder-permission.c
index a446cbc3e3..a770044a12 100644
--- a/plugins/exchange-operations/exchange-folder-permission.c
+++ b/plugins/exchange-operations/exchange-folder-permission.c
@@ -169,6 +169,10 @@ org_gnome_exchange_folder_permissions (EPlugin *ep, EMPopupTargetFolder *target)
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));