aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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++)) {