From owner-svn-ports-branches@freebsd.org Thu Jul 19 21:16:03 2018 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8A13104B911; Thu, 19 Jul 2018 21:16:03 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D9BA7D061; Thu, 19 Jul 2018 21:16:03 +0000 (UTC) (envelope-from grembo@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 306502E9FC; Thu, 19 Jul 2018 21:16:03 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6JLG3AR073232; Thu, 19 Jul 2018 21:16:03 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6JLG2F9073230; Thu, 19 Jul 2018 21:16:02 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <201807192116.w6JLG2F9073230@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin Date: Thu, 19 Jul 2018 21:16:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r474981 - in branches/2018Q3/devel/boost-libs: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: grembo X-SVN-Commit-Paths: in branches/2018Q3/devel/boost-libs: . files X-SVN-Commit-Revision: 474981 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.27 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: Thu, 19 Jul 2018 21:16:04 -0000 Author: grembo Date: Thu Jul 19 21:16:02 2018 New Revision: 474981 URL: https://svnweb.freebsd.org/changeset/ports/474981 Log: MFH: r474979 Fix runtime null pointer dereference (undefined behavior) PR: 229888 Approved by: maintainer Obtained from: https://github.com/boostorg/filesystem/pull/71 Approved by: ports-secteam (runtime fix blanket) Added: branches/2018Q3/devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp - copied unchanged from r474979, head/devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp Modified: branches/2018Q3/devel/boost-libs/Makefile Directory Properties: branches/2018Q3/ (props changed) Modified: branches/2018Q3/devel/boost-libs/Makefile ============================================================================== --- branches/2018Q3/devel/boost-libs/Makefile Thu Jul 19 21:11:48 2018 (r474980) +++ branches/2018Q3/devel/boost-libs/Makefile Thu Jul 19 21:16:02 2018 (r474981) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= boost-libs -PORTREVISION= 2 +PORTREVISION= 3 COMMENT= Free portable C++ libraries (without Boost.Python) Copied: branches/2018Q3/devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp (from r474979, head/devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q3/devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp Thu Jul 19 21:16:02 2018 (r474981, copy of r474979, head/devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp) @@ -0,0 +1,29 @@ +Fixes a null pointer dereference, patch origin: +https://github.com/boostorg/filesystem/pull/71 +--- libs/filesystem/src/operations.cpp.orig 2018-04-11 13:49:02 UTC ++++ libs/filesystem/src/operations.cpp +@@ -890,20 +890,20 @@ namespace detail + BOOST_FILESYSTEM_DECL + void copy(const path& from, const path& to, system::error_code* ec) + { +- file_status s(symlink_status(from, *ec)); ++ file_status s(detail::symlink_status(from, ec)); + if (ec != 0 && *ec) return; + + if(is_symlink(s)) + { +- copy_symlink(from, to, *ec); ++ detail::copy_symlink(from, to, ec); + } + else if(is_directory(s)) + { +- copy_directory(from, to, *ec); ++ detail::copy_directory(from, to, ec); + } + else if(is_regular_file(s)) + { +- copy_file(from, to, fs::copy_option::fail_if_exists, *ec); ++ detail::copy_file(from, to, detail::fail_if_exists, ec); + } + else + {