aboutsummaryrefslogtreecommitdiff
path: root/news/tin/files/patch-src-mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'news/tin/files/patch-src-mail.c')
-rw-r--r--news/tin/files/patch-src-mail.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/news/tin/files/patch-src-mail.c b/news/tin/files/patch-src-mail.c
new file mode 100644
index 000000000000..6b21288435f1
--- /dev/null
+++ b/news/tin/files/patch-src-mail.c
@@ -0,0 +1,11 @@
+--- src/mail.c.orig Wed Jan 18 23:29:18 2006
++++ src/mail.c Wed Jan 18 23:29:28 2006
+@@ -369,7 +369,7 @@
+ space = strlen(ptr) + 1;
+ groupname = my_malloc(space);
+ } else {
+- while (strlen(ptr) > space) { /* realloc needed? */
++ while (strlen(ptr) + 1 > space) { /* realloc needed? */
+ space <<= 1; /* double size */
+ groupname = my_realloc(groupname, space);
+ }