]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.10-20120218
authorWietse Venema <wietse@porcupine.org>
Sat, 18 Feb 2012 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:37:59 +0000 (06:37 +0000)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/global/verify_sender_addr.c
postfix/src/postlog/postlog.c
postfix/src/smtpd/smtpd.c
postfix/src/util/netstring.c

index 0677106e23256eb9d0c1f86e9c40428ed6764a55..819cc78a7dc6c28b8d3837129712bfe70ee19f2a 100644 (file)
@@ -17603,10 +17603,10 @@ Apologies for any names omitted.
 20120130
 
        Bugfix (introduced: Postfix 2.3): the trace service did not
-       distinguish between notifications for a non-bounce or a
-       bounce message. This code pre-dates DSN support and should
-       have been updated when it was re-purposed to handle DSN
-       SUCCESS notifications. Problem reported by Sabahattin
+       distinguish between DSN SUCCESS notifications for a non-bounce
+       or a bounce message. This code pre-dates DSN support and
+       should have been updated when it was re-purposed to handle
+       DSN SUCCESS notifications. Problem reported by Sabahattin
        Gucukoglu.  File: bounce/bounce_trace_service.c.
 
 20120202
@@ -17616,3 +17616,16 @@ Apologies for any names omitted.
        could match a shorter one, because a length check was done
        on the wrong string.  Reported by Vladimir Vassiliev.  File:
        cleanup/cleanup_milter.c.
+
+20120214
+
+        Bugfix (introduced: Postfix 2.4): extraneous null assignment
+        caused core dump when postlog emitted the "usage" message.
+        Reported by Kant (fnord.hammer). File: postlog/postlog.c.
+
+20120217
+
+       Bugfix (introduced 20111219): sendmail -bs segfault, due
+       to a missing guard statement after an smtpd_check_rewrite()
+       call was moved closer to the command processor loop. Fix
+       by Bartek Szady. File: smtpd/smtpd.c.
index 6cd9b3545d965378ea50146bb34386c1b4326dc3..b53552213fb75248a76e25119f227396cec6b8f7 100644 (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      "20120202"
+#define MAIL_RELEASE_DATE      "20120218"
 #define MAIL_VERSION_NUMBER    "2.10"
 
 #ifdef SNAPSHOT
index c87181487497865d34a27d5837776c92c6f055f3..666f8e6561e955ceea188e49cfa0eb28eae7dd7b 100644 (file)
@@ -20,7 +20,7 @@
 /*     specified with the address_verify_sender parameter.
 /*
 /*     When the address_verify_sender parameter is empty or <>,
-/*     the sender address always the empty address (i.e. always
+/*     the sender address is always the empty address (i.e. always
 /*     time-independent).
 /*
 /*     The caller must initialize the address_verify_sender and
index 90f0f2b4cbd4818c751c555c91f3378a54712673..6384396bdc8e19c487c9b25be04ca47817d7cb93 100644 (file)
@@ -207,7 +207,6 @@ int     main(int argc, char **argv)
     if (isatty(STDERR_FILENO))
        msg_vstream_init(tag, VSTREAM_ERR);
     msg_syslog_init(tag, LOG_PID, LOG_FACILITY);
-    tag = 0;
 
     /*
      * Check the Postfix library version as soon as we enable logging.
index a95f08a97e7c1f070fca87ac9befd58216f5d1ab..aeecbf883c930694dd6e09585373e12dc326a2ad 100644 (file)
@@ -2353,12 +2353,14 @@ static int mail_cmd(SMTPD_STATE *state, int argc, SMTPD_TOKEN *argv)
            return (-1);
        }
     }
-    err = smtpd_check_rewrite(state);
-    if (err != 0) {
-       /* XXX Reset access map side effects. */
-       mail_reset(state);
-       smtpd_chat_reply(state, "%s", err);
-       return (-1);
+    if (SMTPD_STAND_ALONE(state) == 0) {
+       err = smtpd_check_rewrite(state);
+       if (err != 0) {
+           /* XXX Reset access map side effects. */
+           mail_reset(state);
+           smtpd_chat_reply(state, "%s", err);
+           return (-1);
+       }
     }
 
     /*
index 55eaabcf59e1d163c8bf9c4a8c785b6ca6bb9ace..666b56e37968b46125f3c6a2bd9d3444e6050023 100644 (file)
 /* .fi
 /* .ad
 /*     In case of error, a vstream_longjmp() call is performed to the
-/*     context specified with vstream_setjmp().
+/*     caller-provided context specified with vstream_setjmp().
 /*     Error codes passed along with vstream_longjmp() are:
 /* .IP NETSTRING_ERR_EOF
 /*     An I/O error happened, or the peer has disconnected unexpectedly.