From: Wietse Venema Date: Sun, 3 Feb 2013 05:00:00 +0000 (-0500) Subject: postfix-2.6.19 X-Git-Tag: v2.6.19^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=888c0c474369af34b6183066938cca6076dc95a1;p=thirdparty%2Fpostfix.git postfix-2.6.19 --- diff --git a/postfix/HISTORY b/postfix/HISTORY index 9f4fc07d6..6b39cc740 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -15670,12 +15670,6 @@ Apologies for any names omitted. Bugfix (introduced: 20000314): AUTH is not allowed after MAIL. Timo Sirainen. File: smtpd/smtpd_sasl_proto.c. -20121003 - - Bugfix: the postscreen_access_list feature was case-sensitive - in the first character of permit, reject, etc. Reported by - Francis Picabia. File: global/server_acl.c. - 20121010 Bugfix (introduced: Postfix 2.5): memory leak in program @@ -15696,3 +15690,14 @@ Apologies for any names omitted. returned by the system getaddrinfo() routine. Such suffixes mess up the default mynetworks value, host name/address verification and possibly more. File: util/myaddrinfo.c. + +20130131 + + Bugfix: the local(8) delivery agent dereferenced a null + pointer while delivering to null command (for example, "|" + in a .forward file). Reported by Gilles Chehade. + +20130203 + + Bugfix: the 20121010 fix for tls_misc.c was documented but + not included. diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index cddbd4af2..7e1a38daa 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -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 "20121213" -#define MAIL_VERSION_NUMBER "2.6.18" +#define MAIL_RELEASE_DATE "20130203" +#define MAIL_VERSION_NUMBER "2.6.19" #ifdef SNAPSHOT # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff --git a/postfix/src/tls/tls_misc.c b/postfix/src/tls/tls_misc.c index b0f0c499c..24528bd1e 100644 --- a/postfix/src/tls/tls_misc.c +++ b/postfix/src/tls/tls_misc.c @@ -382,8 +382,10 @@ int tls_protocol_mask(const char *plist) else include |= code = name_code(protocol_table, NAME_CODE_FLAG_NONE, tok); - if (code == TLS_PROTOCOL_INVALID) + if (code == TLS_PROTOCOL_INVALID) { + myfree(save); return TLS_PROTOCOL_INVALID; + } } myfree(save); diff --git a/postfix/src/util/exec_command.c b/postfix/src/util/exec_command.c index 9ab82535e..8629b0c24 100644 --- a/postfix/src/util/exec_command.c +++ b/postfix/src/util/exec_command.c @@ -63,7 +63,8 @@ ABCDEFGHIJKLMNOPQRSTUVWXYZ" SPACE_TAB; /* * See if this command contains any shell magic characters. */ - if (command[strspn(command, ok_chars)] == 0) { + if (command[strspn(command, ok_chars)] == 0 + && command[strspn(command, SPACE_TAB)] != 0) { /* * No shell meta characters found, so we can try to avoid the overhead