]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.8.14 v2.8.14
authorWietse Venema <wietse@porcupine.org>
Sun, 3 Feb 2013 19:45:00 +0000 (15:45 -0400)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sat, 10 Feb 2018 18:59:30 +0000 (13:59 -0500)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/tls/tls_misc.c
postfix/src/util/exec_command.c

index a7cfb69e60eb4d520ab3b08bd7c49205b65ba185..3b56408c05594e50ec17716b838bb2b9d6871418 100644 (file)
@@ -16876,3 +16876,14 @@ Apologies for any names omitted.
        20101108 change that removes datalink suffixes in the SMTP
        and QMQP servers, but we leave that code alone.  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.
index 8e14260bf838331e4c3b8ecb7c5b3bf7d2169a22..46132ff997b39d9d89ea4b31734d2e61d4f992a1 100644 (file)
@@ -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.8.13"
+#define MAIL_RELEASE_DATE      "20130203"
+#define MAIL_VERSION_NUMBER    "2.8.14"
 
 #ifdef SNAPSHOT
 # define MAIL_VERSION_DATE     "-" MAIL_RELEASE_DATE
index 531be9aec29843c1c37fd15e4fd7faadd81bebed..005633edf35ee4826d3bae448d7f4d194bc7a03a 100644 (file)
@@ -453,8 +453,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);
 
index 9ab82535e53bbe59c7abc8038090ec7bea9b7724..8629b0c2407b8e542c4418a40eeb587d06177a75 100644 (file)
@@ -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