From owner-svn-ports-all@freebsd.org Mon Jul 20 15:21:27 2015 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 721959A6B69; Mon, 20 Jul 2015 15:21:27 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 626882AD7; Mon, 20 Jul 2015 15:21:27 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6KFLRtb019872; Mon, 20 Jul 2015 15:21:27 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6KFLQ2V019870; Mon, 20 Jul 2015 15:21:26 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201507201521.t6KFLQ2V019870@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Mon, 20 Jul 2015 15:21:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392587 - in head/devel/pcre: . files X-SVN-Group: ports-head 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.20 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: Mon, 20 Jul 2015 15:21:27 -0000 Author: feld Date: Mon Jul 20 15:21:25 2015 New Revision: 392587 URL: https://svnweb.freebsd.org/changeset/ports/392587 Log: Apply upstream fixes for a buffer overflow issue: 1571 Fix buffer overflow for forward reference within backward assertion with excess closing parenthesis. Bugzilla 1651. Obtained from: PCRE svn (r1571) MFH: 2015Q3 Security: 8a1d0e63-1e07-11e5-b43d-002590263bf5 Security: CVE-2015-5073 Added: head/devel/pcre/files/patch-CVE-2015-5073 (contents, props changed) Modified: head/devel/pcre/Makefile Modified: head/devel/pcre/Makefile ============================================================================== --- head/devel/pcre/Makefile Mon Jul 20 15:20:23 2015 (r392586) +++ head/devel/pcre/Makefile Mon Jul 20 15:21:25 2015 (r392587) @@ -3,7 +3,7 @@ PORTNAME= pcre PORTVERSION= 8.37 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \ ftp://ftp.csx.cam.ac.uk/pub/software/programming/${PORTNAME}/ \ Added: head/devel/pcre/files/patch-CVE-2015-5073 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcre/files/patch-CVE-2015-5073 Mon Jul 20 15:21:25 2015 (r392587) @@ -0,0 +1,11 @@ +--- pcre_compile.c.orig 2015/06/22 09:38:41 1570 ++++ pcre_compile.c 2015/06/23 16:34:53 1571 +@@ -9449,7 +9449,7 @@ + exceptional ones forgo this. We scan the pattern to check that they are fixed + length, and set their lengths. */ + +-if (cd->check_lookbehind) ++if (errorcode == 0 && cd->check_lookbehind) + { + pcre_uchar *cc = (pcre_uchar *)codestart; +