aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-03 06:22:01 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-03 06:22:01 +0800
commit1b0d0e234ea94813ef3700703adfb73c6a621dfe (patch)
treeba0867544de83ac8afa93118e418e92179fcd5f1 /mail
parent7e1ad6c2254a9c5d2e6b19757b016eec29235e58 (diff)
downloadgsoc2013-evolution-1b0d0e234ea94813ef3700703adfb73c6a621dfe.tar.gz
gsoc2013-evolution-1b0d0e234ea94813ef3700703adfb73c6a621dfe.tar.zst
gsoc2013-evolution-1b0d0e234ea94813ef3700703adfb73c6a621dfe.zip
Increase the size of the escapped mlist buffer, we can't assume that there
2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Increase the size of the escapped mlist buffer, we can't assume that there can only ever be a single '_' in the mlist name afaik. svn path=/trunk/; revision=17353
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/folder-browser.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index af0187e061..02cd1ba39b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2002-07-02 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser.c (on_right_click): Increase the size of the
+ escapped mlist buffer, we can't assume that there can only ever be
+ a single '_' in the mlist name afaik.
+
Fixes bug #27263.
* folder-browser.c (filter_subject): Decide the filter source type
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 661bcb1f5d..aa0ff3144f 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1906,7 +1906,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
fdata->mlist = g_strdup(mname);
/* Escape the mailing list name before showing it */
- mlist = alloca (strlen (mname)+2);
+ mlist = alloca ((strlen (mname) * 2) + 1);
p = mname;
o = mlist;
while ((c = *p++)) {