2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-22 09:57:34 +00:00

postfix-3.7-20210707

This commit is contained in:
Wietse Venema 2021-07-07 00:00:00 -05:00 committed by Viktor Dukhovni
parent 379f938876
commit 6f10a06650
3 changed files with 18 additions and 4 deletions

View File

@ -25650,3 +25650,14 @@ Apologies for any names omitted.
strtou?l() can be migrated later. Problem reported by David
Bohman. Files: util/sane_strtol.[hc], global/compat_level.c,
postscreen/postscreen_tests.c, util/mac_expand.c.
20210705
Bugfix (introduced: Postfix 3.3): with "header_from_format
= standard" (the default as of Postfix 3.3) the cleanup
daemon crashed with a "null pointer read" error when email
was submitted with /usr/sbin/sendmail without From: header,
and an all-space full name was specified in the password
file, with "sendmail -F", or with the NAME environment
variable. Found by Renaud Metrich. File:
cleanup/cleanup_message.c.

View File

@ -776,9 +776,12 @@ static void cleanup_header_done_callback(void *context)
} else {
token = tok822_alloc(TOK822_QSTRING, state->fullname);
}
tok822_externalize(state->temp2, token, TOK822_STR_NONE);
tok822_free(token);
vstring_sprintf_append(state->temp2, " <%s>",
if (token) {
tok822_externalize(state->temp2, token, TOK822_STR_NONE);
tok822_free(token);
vstring_strcat(state->temp2, " ");
}
vstring_sprintf_append(state->temp2, "<%s>",
vstring_str(state->temp1));
break;

View File

@ -20,7 +20,7 @@
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
#define MAIL_RELEASE_DATE "20210627"
#define MAIL_RELEASE_DATE "20210707"
#define MAIL_VERSION_NUMBER "3.7"
#ifdef SNAPSHOT