mlmmj

changeset ada79809aac0

Fixed a bug where a listtext token was passed without a substitution, which could cause a crash if it were actually mistakenly used (unlikely)
author Ben Schmidt
date Mon, 20 Sep 2010 01:19:25 +1000
parents c910b56dc039
children 5db75af2d0db
files ChangeLog src/mlmmj-process.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/ChangeLog	Mon Sep 20 01:18:30 2010 +1000
     1.2 +++ b/ChangeLog	Mon Sep 20 01:19:25 2010 +1000
     1.3 @@ -1,3 +1,5 @@
     1.4 + o Fixed a bug that could cause a crash if $posteraddr$ appeared in the
     1.5 +   maxmaiilsize listtext
     1.6   o Documented listtexts
     1.7   o Makes the random strings produced always the same length rather the
     1.8     smaller random numbers producing shorter strings which could be
     2.1 --- a/src/mlmmj-process.c	Mon Sep 20 01:18:30 2010 +1000
     2.2 +++ b/src/mlmmj-process.c	Mon Sep 20 01:19:25 2010 +1000
     2.3 @@ -696,7 +696,7 @@
     2.4  			queuefilename = prepstdreply(listdir,
     2.5  					"maxmailsize", "$listowner$",
     2.6  					fromemails.emaillist[0],
     2.7 -					NULL, 2, maildata, NULL, donemailname);
     2.8 +					NULL, 1, maildata+2, NULL, donemailname);
     2.9  			MY_ASSERT(queuefilename)
    2.10  			myfree(listdelim);
    2.11  			myfree(listname);