diff options
-rw-r--r-- | plugins/exchange-operations/ChangeLog | 8 | ||||
-rw-r--r-- | plugins/exchange-operations/exchange-folder-permission.c | 4 |
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)); |