From owner-svn-ports-all@freebsd.org Tue Sep 19 12:31:55 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B00BDE1114C; Tue, 19 Sep 2017 12:31:55 +0000 (UTC) (envelope-from zi@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 mx1.freebsd.org (Postfix) with ESMTPS id 7D8247E2DA; Tue, 19 Sep 2017 12:31:55 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8JCVsEM035881; Tue, 19 Sep 2017 12:31:54 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8JCVsgQ035879; Tue, 19 Sep 2017 12:31:54 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201709191231.v8JCVsgQ035879@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Tue, 19 Sep 2017 12:31:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r450120 - in branches/2017Q3/www/apache24: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in branches/2017Q3/www/apache24: . files X-SVN-Commit-Revision: 450120 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 12:31:55 -0000 Author: zi Date: Tue Sep 19 12:31:54 2017 New Revision: 450120 URL: https://svnweb.freebsd.org/changeset/ports/450120 Log: MFH: r450116 - Add upstream commit for CVE-2017-9798 - Bump PORTREVISION Security: 76b085e2-9d33-11e7-9260-000c292ee6b8 Approved by: ports-secteam (with hat) Added: branches/2017Q3/www/apache24/files/patch-CVE-2017-9798 - copied unchanged from r450116, head/www/apache24/files/patch-CVE-2017-9798 Modified: branches/2017Q3/www/apache24/Makefile Directory Properties: branches/2017Q3/ (props changed) Modified: branches/2017Q3/www/apache24/Makefile ============================================================================== --- branches/2017Q3/www/apache24/Makefile Tue Sep 19 12:30:39 2017 (r450119) +++ branches/2017Q3/www/apache24/Makefile Tue Sep 19 12:31:54 2017 (r450120) @@ -2,6 +2,7 @@ PORTNAME= apache24 PORTVERSION= 2.4.27 +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= APACHE_HTTPD DISTNAME= httpd-${PORTVERSION} Copied: branches/2017Q3/www/apache24/files/patch-CVE-2017-9798 (from r450116, head/www/apache24/files/patch-CVE-2017-9798) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q3/www/apache24/files/patch-CVE-2017-9798 Tue Sep 19 12:31:54 2017 (r450120, copy of r450116, head/www/apache24/files/patch-CVE-2017-9798) @@ -0,0 +1,15 @@ +--- server/core.c 2017/08/16 16:50:29 1805223 ++++ server/core.c 2017/09/08 13:13:11 1807754 +@@ -2266,6 +2266,12 @@ + /* method has not been registered yet, but resource restriction + * is always checked before method handling, so register it. + */ ++ if (cmd->pool == cmd->temp_pool) { ++ /* In .htaccess, we can't globally register new methods. */ ++ return apr_psprintf(cmd->pool, "Could not register method '%s' " ++ "for %s from .htaccess configuration", ++ method, cmd->cmd->name); ++ } + methnum = ap_method_register(cmd->pool, + apr_pstrdup(cmd->pool, method)); + }