From owner-svn-ports-branches@freebsd.org Sun Sep 15 09:57:34 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 624B9E8E8A; Sun, 15 Sep 2019 09:57:34 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46WPtk1ycSz4BgG; Sun, 15 Sep 2019 09:57:34 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0F2F367E1; Sun, 15 Sep 2019 09:57:34 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8F9vXC3065592; Sun, 15 Sep 2019 09:57:33 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8F9vXdo065589; Sun, 15 Sep 2019 09:57:33 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201909150957.x8F9vXdo065589@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 15 Sep 2019 09:57:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r512094 - in branches/2019Q3/mail/opendmarc: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in branches/2019Q3/mail/opendmarc: . files X-SVN-Commit-Revision: 512094 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2019 09:57:34 -0000 Author: pi Date: Sun Sep 15 09:57:33 2019 New Revision: 512094 URL: https://svnweb.freebsd.org/changeset/ports/512094 Log: MFH: r512093 mail/opendmarc: fix multiple addresses in From vulnerability - please note that it might only be a partial fix, see https://github.com/trusteddomainproject/OpenDMARC/pull/48#issuecomment-530375590 PR: 240505 Reported by: protonmail Approved by: ports-secteam (delphij) Obtained from: https://github.com/trusteddomainproject/OpenDMARC/pull/48 Security: https://protonmail.com/blog/bellingcat-cyberattack-phishing/ Added: branches/2019Q3/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c - copied unchanged from r512093, head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c branches/2019Q3/mail/opendmarc/files/patch-opendmarc_opendmarc.c - copied unchanged from r512093, head/mail/opendmarc/files/patch-opendmarc_opendmarc.c Modified: branches/2019Q3/mail/opendmarc/Makefile Directory Properties: branches/2019Q3/ (props changed) Modified: branches/2019Q3/mail/opendmarc/Makefile ============================================================================== --- branches/2019Q3/mail/opendmarc/Makefile Sun Sep 15 09:51:20 2019 (r512093) +++ branches/2019Q3/mail/opendmarc/Makefile Sun Sep 15 09:57:33 2019 (r512094) @@ -3,7 +3,7 @@ PORTNAME= opendmarc PORTVERSION= 1.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME} \ SF/${PORTNAME}/Previous%20Releases Copied: branches/2019Q3/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c (from r512093, head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q3/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c Sun Sep 15 09:57:33 2019 (r512094, copy of r512093, head/mail/opendmarc/files/patch-libopendmarc_tests_test__finddomain.c) @@ -0,0 +1,10 @@ +--- libopendmarc/tests/test_finddomain.c.orig 2012-10-25 15:38:55 UTC ++++ libopendmarc/tests/test_finddomain.c +@@ -23,6 +23,7 @@ main(int argc, char **argv) + /* 11 */ {"(,) joe@joe.com", "joe.com"}, + /* 12 */ {"\"( bob@bob.com)\" joe@joe.com", "joe.com"}, + /* 12 */ {"From: Davide D'Marco ", "blah.com"}, ++ /* 13 */ {"blah.com>", "blah.com"}, + {NULL, NULL}, + }; + u_char dbuf[256]; Copied: branches/2019Q3/mail/opendmarc/files/patch-opendmarc_opendmarc.c (from r512093, head/mail/opendmarc/files/patch-opendmarc_opendmarc.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q3/mail/opendmarc/files/patch-opendmarc_opendmarc.c Sun Sep 15 09:57:33 2019 (r512094, copy of r512093, head/mail/opendmarc/files/patch-opendmarc_opendmarc.c) @@ -0,0 +1,11 @@ +--- opendmarc/opendmarc.c.orig 2017-03-04 13:28:39 UTC ++++ opendmarc/opendmarc.c +@@ -2193,7 +2193,7 @@ mlfi_eom(SMFICTX *ctx) + strncpy(dfc->mctx_fromdomain, domain, sizeof dfc->mctx_fromdomain - 1); + + ostatus = opendmarc_policy_store_from_domain(cc->cctx_dmarc, +- from->hdr_value); ++ dfc->mctx_fromdomain); + if (ostatus != DMARC_PARSE_OKAY) + { + if (conf->conf_dolog)