aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-01 04:46:47 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-01 04:46:47 +0800
commit959fe7be1e4968bdd4a8bc8f0904d49079463226 (patch)
tree20532e29c3e162884e1ab8acb4b8f26c5527c805
parent5ed94f2baf4759063e9f8c363547fa23b5bc29b4 (diff)
downloadgsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.tar
gsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.tar.gz
gsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.tar.bz2
gsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.tar.lz
gsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.tar.xz
gsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.tar.zst
gsoc2013-evolution-959fe7be1e4968bdd4a8bc8f0904d49079463226.zip
Buffer overrun fix in g_strfreev -- two more that I forgot
svn path=/trunk/; revision=4432
-rw-r--r--camel/providers/vee/camel-vee-folder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/vee/camel-vee-folder.c b/camel/providers/vee/camel-vee-folder.c
index 2dc11d966a..2676b34ba0 100644
--- a/camel/providers/vee/camel-vee-folder.c
+++ b/camel/providers/vee/camel-vee-folder.c
@@ -493,6 +493,7 @@ vee_folder_build(CamelVeeFolder *vf, CamelException *ex)
g_hash_table_insert(messages_uid, mi->info.uid, mi);
}
}
+ g_ptr_array_add (matches, NULL);
g_strfreev((char **)matches->pdata);
g_ptr_array_free(matches, FALSE);
node = g_list_next(node);
@@ -545,6 +546,7 @@ vee_folder_build_folder(CamelVeeFolder *vf, CamelFolder *source, CamelException
g_hash_table_insert(messages_uid, mi->info.uid, mi);
}
}
+ g_ptr_array_add (matches, NULL);
g_strfreev((char **)matches->pdata);
g_ptr_array_free(matches, FALSE);
}