[evolution-data-server] maildir_store_get_folder_sync: Fix a use-after-free issue
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] maildir_store_get_folder_sync: Fix a use-after-free issue
- Date: Fri, 31 Jan 2014 12:20:27 +0000 (UTC)
commit ab56f2f271ece17950aee87f4265ccd7acd8acb0
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 31 13:20:00 2014 +0100
maildir_store_get_folder_sync: Fix a use-after-free issue
camel/providers/local/camel-maildir-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 417cbf5..d74d083 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -212,7 +212,7 @@ maildir_store_get_folder_sync (CamelStore *store,
/* Chain up to parent's get_folder() method. */
store_class = CAMEL_STORE_CLASS (camel_maildir_store_parent_class);
- if (!store_class->get_folder_sync (store, dir_name, flags, cancellable, error)) {
+ if (!store_class->get_folder_sync (store, name, flags, cancellable, error)) {
g_free (name);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]