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.
} 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;
* 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