diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-01 04:33:27 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-01 04:33:27 +0800 |
commit | 5ed94f2baf4759063e9f8c363547fa23b5bc29b4 (patch) | |
tree | 0cb94b7e7edee37025323c158af795928ddf25d5 /camel/providers/vee | |
parent | bba29ab0f3e86fb0d07c992a31dae6ef8bf9bdbd (diff) | |
download | gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.tar gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.tar.gz gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.tar.bz2 gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.tar.lz gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.tar.xz gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.tar.zst gsoc2013-evolution-5ed94f2baf4759063e9f8c363547fa23b5bc29b4.zip |
Buffer overrun fix in g_strfreev
svn path=/trunk/; revision=4431
Diffstat (limited to 'camel/providers/vee')
-rw-r--r-- | camel/providers/vee/camel-vee-folder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/providers/vee/camel-vee-folder.c b/camel/providers/vee/camel-vee-folder.c index 8c9109db91..2dc11d966a 100644 --- a/camel/providers/vee/camel-vee-folder.c +++ b/camel/providers/vee/camel-vee-folder.c @@ -385,6 +385,7 @@ vee_search_by_expression(CamelFolder *folder, const char *expression, CamelExcep char *uid = matches->pdata[i]; g_ptr_array_add(result, g_strdup_printf("%p:%s", f, uid)); } + g_ptr_array_add (matches, NULL); g_strfreev((char **)matches->pdata); g_ptr_array_free(matches, FALSE); node = g_list_next(node); |