Skip to content

Commit

Permalink
postfix-3.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wietse-postfix authored and Viktor Dukhovni committed Apr 28, 2022
1 parent 6d12e2b commit d776c5c
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 194 deletions.
27 changes: 27 additions & 0 deletions postfix/HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -26327,3 +26327,30 @@ Apologies for any names omitted.
chroot jail. Problem reported by Jesper Dybdal. Files:
cleanup/cleanup.h, cleanup/cleanup_init.c,
cleanup/cleanup_milter.c, cleanup/cleanup_state.c.

20220421

Bugfix (introduced: Postfix 3.7): reverted an overly complex
change in the postscreen SMTP engine from 20211023, and
replaced it with a much simpler change. The bad change was
segfaulting on some systems after receiving malformed input
(for example, TLS "hello"). File: postscreen/postscreen_smtpd.c.

Under conditions described below, the postscreen program
attempted to read through an uninitialized 'const' pointer.
The pointer value depended on the compiler type and compiler
options, but crucially, it did not depend on network inputs.

The conditions were that SMTPUTF8 support was enabled (the
default), and that postscreen received non-UTF8 input, for
example, a TLS or RDP handshake request. Depending on
compiler details, the result of the read operation could
be uninteresting, a combined memory leak and file handle
leak, or a segmentation violation (signal 11).

The segmentation violation result was reported by Michael
Grimm who used a FreeBSD 13.1 early version. The result was
"uninteresting" with FreeBSD 13.0. Both FreeBSD systems use
Clang instead of GCC. The result was also "uninteresting"
on Linux-based systems that use GCC, or on a few older
systems that use GCC.
4 changes: 2 additions & 2 deletions postfix/src/global/mail_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
#define MAIL_RELEASE_DATE "20220418"
#define MAIL_VERSION_NUMBER "3.7.1"
#define MAIL_RELEASE_DATE "20220427"
#define MAIL_VERSION_NUMBER "3.7.2"

#ifdef SNAPSHOT
#define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE
Expand Down
Loading

0 comments on commit d776c5c

Please sign in to comment.