Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2017-10-02 16:52:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "postfix" Mon Oct 2 16:52:05 2017 rev:147 rq:530015 version:3.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2017-09-14 21:09:13.741134732 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes 2017-10-02 16:52:22.801749799 +0200 @@ -1,0 +2,21 @@ +Thu Sep 28 08:44:41 UTC 2017 - varkoly@suse.com + +- bnc#1016491 postfix raported to log "warning: group or other writable:" + on each symlink in config. + * Add fix-postfix-script.patch + +------------------------------------------------------------------- +Mon Sep 25 16:25:05 UTC 2017 - michael@stroeder.com + +- update to 3.2.3 + * Extension propagation was broken with "recipient_delimiter = .". + This change reverts a change that was trying to be too clever. + * The postqueue command would abort with a panic message after it + experienced an output write error while listing the mail queue. + This change restores a write error check that was lost with the + Postfix 3.2 rewrite of the vbuf_print formatter. + * Restored sanity checks for dynamically-specified width and precision + in format strings (%*, %.*, and %*.*). These checks were lost with + the Postfix 3.2 rewrite of the vbuf_print formatter. + +------------------------------------------------------------------- Old: ---- postfix-3.2.2.tar.gz New: ---- fix-postfix-script.patch postfix-3.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.AEGqWU/_old 2017-10-02 16:52:24.221550522 +0200 +++ /var/tmp/diff_new_pack.AEGqWU/_new 2017-10-02 16:52:24.225549961 +0200 @@ -59,7 +59,7 @@ %define _unitdir /lib/systemd %endif Name: postfix -Version: 3.2.2 +Version: 3.2.3 Release: 0 Summary: A fast, secure, and flexible mailer License: IPL-1.0 @@ -79,6 +79,7 @@ Patch6: %{name}-linux45.patch Patch7: %{name}-ssl-release-buffers.patch Patch8: %{name}-vda-v14-3.0.3.patch +Patch9: fix-postfix-script.patch BuildRequires: ca-certificates BuildRequires: cyrus-sasl-devel @@ -194,6 +195,7 @@ %patch6 %patch7 %patch8 +%patch9 # --------------------------------------------------------------------------- ++++++ fix-postfix-script.patch ++++++ --- conf/postfix-script 2016-01-31 16:05:46.000000000 -0500 +++ conf/postfix-script 2016-03-01 19:23:51.000000000 -0500 @@ -272,10 +277,17 @@ } todo=`echo "$todo" | tr ' ' '\12' | sort -u` - find $todo ! -user root \ + if find -L $config_directory/main.cf >/dev/null 2>&1 + then + FIND="find -L" + else + FIND=find + fi + + $FIND $todo ! -user root \ -exec $WARN not owned by root: {} \; - find $todo \( -perm -020 -o -perm -002 \) \ + $FIND $todo \( -perm -020 -o -perm -002 \) \ -exec $WARN group or other writable: {} \; # Check Postfix mail_owner-owned directory tree owner/permissions. ++++++ postfix-3.2.2.tar.gz -> postfix-3.2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-3.2.2/HISTORY new/postfix-3.2.3/HISTORY --- old/postfix-3.2.2/HISTORY 2017-06-13 19:30:40.000000000 +0200 +++ new/postfix-3.2.3/HISTORY 2017-09-24 14:30:07.000000000 +0200 @@ -22992,3 +22992,25 @@ by other users. This fix does not change Postfix behavior for Berkeley DB < 3, but reduces file create performance for Berkeley DB 3 .. 4.6. File: util/dict_db.c. + +20170620 + + Bugfix (introduced: Postfix 3.2) extension propagation was + broken with "recipient_delimiter = .". This change reverts + a change that was trying to be too clever. Files: + global/mail_adr_crunch.c, global/mail_addr_crunch.ref. + +20170910 + + Safety: restore sanity checks for dynamically-specified + width and precision in format strings (%*, %.*, and %*.*). + These checks were lost with the Postfix 3.2.2 rewrite of + the vbuf_print formatter. File: vbuf_print.c. + +20170923 + + Bugfix (introduced: Postfix 3.2): panic in the postqueue + command after output write error while listing the queue. + This change restores a write error check that was lost with + the Postfix 3.2.2 rewrite of the vbuf_print formatter. + Problem reported by Andreas Schulze. File: util/vbuf_print.c. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-3.2.2/src/global/mail_addr_crunch.c new/postfix-3.2.3/src/global/mail_addr_crunch.c --- old/postfix-3.2.2/src/global/mail_addr_crunch.c 2017-01-27 23:36:22.000000000 +0100 +++ new/postfix-3.2.3/src/global/mail_addr_crunch.c 2017-06-21 01:40:44.000000000 +0200 @@ -120,7 +120,7 @@ tok822_externalize(extern_addr, tpp[0]->head, TOK822_STR_DEFL); canon_addr_external(canon_addr, STR(extern_addr)); unquote_822_local(intern_addr, STR(canon_addr)); - if (extension && strchr(STR(intern_addr), *extension) == 0) { + if (extension) { VSTRING_SPACE(intern_addr, extlen + 1); if ((ratsign = strrchr(STR(intern_addr), '@')) == 0) { vstring_strcat(intern_addr, extension); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-3.2.2/src/global/mail_version.h new/postfix-3.2.3/src/global/mail_version.h --- old/postfix-3.2.2/src/global/mail_version.h 2017-06-13 19:28:36.000000000 +0200 +++ new/postfix-3.2.3/src/global/mail_version.h 2017-09-24 14:21:50.000000000 +0200 @@ -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 "20170613" -#define MAIL_VERSION_NUMBER "3.2.2" +#define MAIL_RELEASE_DATE "20170924" +#define MAIL_VERSION_NUMBER "3.2.3" #ifdef SNAPSHOT #define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-3.2.2/src/util/vbuf_print.c new/postfix-3.2.3/src/util/vbuf_print.c --- old/postfix-3.2.2/src/util/vbuf_print.c 2017-01-01 16:58:50.000000000 +0100 +++ new/postfix-3.2.3/src/util/vbuf_print.c 2017-09-24 14:28:43.000000000 +0200 @@ -106,7 +106,8 @@ #ifndef NO_SNPRINTF #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ ssize_t _ret; \ - VBUF_SPACE((bp), (sz)); \ + if (VBUF_SPACE((bp), (sz)) != 0) \ + return (bp); \ _ret = snprintf((char *) (bp)->ptr, (bp)->cnt, (fmt), (arg)); \ if (_ret < 0) \ msg_panic("%s: output error for '%s'", myname, (fmt)); \ @@ -117,7 +118,8 @@ } while (0) #else #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ - VBUF_SPACE((bp), (sz)); \ + if (VBUF_SPACE((bp), (sz)) != 0) \ + return (bp); \ sprintf((char *) (bp)->ptr, (fmt), (arg)); \ VBUF_SKIP(bp); \ } while (0) @@ -192,7 +194,12 @@ VSTRING_ADDCH(fmt, *cp++); if (*cp == '*') { /* dynamic field width */ width = va_arg(ap, int); - VSTRING_ADDNUM(fmt, width); + if (width < 0) { + msg_warn("%s: bad width %d in %.50s", + myname, width, format); + width = 0; + } else + VSTRING_ADDNUM(fmt, width); cp++; } else { /* hard-coded field width */ for (width = 0; ch = *cp, ISDIGIT(ch); cp++) { @@ -210,7 +217,12 @@ VSTRING_ADDCH(fmt, *cp++); if (*cp == '*') { /* dynamic precision */ prec = va_arg(ap, int); - VSTRING_ADDNUM(fmt, prec); + if (prec < 0) { + msg_warn("%s: bad precision %d in %.50s", + myname, prec, format); + prec = -1; + } else + VSTRING_ADDNUM(fmt, prec); cp++; } else { /* hard-coded precision */ for (prec = 0; ch = *cp, ISDIGIT(ch); cp++) {
participants (1)
-
root@hilbert.suse.de