[evolution-data-server/gnome-3-10] 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/gnome-3-10] maildir_store_get_folder_sync: Fix a use-after-free issue
- Date: Fri, 31 Jan 2014 12:21:02 +0000 (UTC)
commit 5490f4e1f34f2c76d80e2eed04c2a0de192ae314
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 31 13:21:05 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 9aa6a34..665b64c 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -207,7 +207,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]