diff options
author | Bharath Acharya <abharath@src.gnome.org> | 2008-04-21 13:09:43 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2008-04-21 13:09:43 +0800 |
commit | d10522d18554de3e61f5973fe0f0ee0f9f8ae33a (patch) | |
tree | a5fa1520d0dbb2c69e91ac0475004c9843bae4c1 /plugins/exchange-operations/exchange-folder-permission.c | |
parent | 4ab6e5aa1e9041c624b135303d66cb6b88dfba23 (diff) | |
download | gsoc2013-evolution-d10522d18554de3e61f5973fe0f0ee0f9f8ae33a.tar.gz 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
Diffstat (limited to 'plugins/exchange-operations/exchange-folder-permission.c')
-rw-r--r-- | plugins/exchange-operations/exchange-folder-permission.c | 4 |
1 files changed, 4 insertions, 0 deletions
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)); |