Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91252 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68927 invoked from network); 17 Feb 2016 16:28:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2016 16:28:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lerdorf.com designates 209.85.192.179 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.192.179 mail-pf0-f179.google.com Received: from [209.85.192.179] ([209.85.192.179:33443] helo=mail-pf0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/5B-17120-0AF94C65 for ; Wed, 17 Feb 2016 11:28:17 -0500 Received: by mail-pf0-f179.google.com with SMTP id q63so14019563pfb.0 for ; Wed, 17 Feb 2016 08:28:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lerdorf-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=WL+W0thCyJW3kDjOASuNFcQe6hEXV9YE+34aiLLlo/c=; b=JLlYKEQVFE8UqlZDRRgdX9EqSq28HtQkvGgvw+K1Ea3Lw1AfScZXmcdqWDZtFqdDmI UzwnU5WmfsGSrd3Mko1BFG+Dur7NTNPkFjhoFcSp+T/4uWy1tNhbA2UIErT8hFIgarI3 HqBlIxjzP1GUtrYRZz5LO2lxwnz0W/3MNwnmo/oTSLeVfRkRjEA/beJmejG6nuDBzOMw y/s9vkoWa9CubiHk4qLPyIhtpvidlfSh+szV47Z033rmXie5fHhebKeHMoU+9dN6Cgo6 qji3vxVcWuaz6V59m0iePyix2hIW89qHbGZeZfeq3vnfCEPSqwORIRztEclLYNNSABag R9Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=WL+W0thCyJW3kDjOASuNFcQe6hEXV9YE+34aiLLlo/c=; b=HIzOF/liDxJa5ChqVsLM0il2b2aEoNA/eJWt5zsBMLZ6tLW7kq1Iiz6VykqGGnZpQC AAypuauwabk0T6B26siX0bgb12zqsIHoO0TpH/vhGaDd27FFeppxev3MoIQBOonU8Bh4 2sFIHi7dGY7Kjk4H/E8D96/z3KKul5p4bjqKp6Y/79DivPXty6sbEgVsHywHljXA8OPt j1ZxZf5gbZB6S2eeEhe3utzNctwxHKa5CWZ+TjOuH5S7bpedU9CBNAWt+fO16tSfsO/g 9OtuB4EReJoJNXNZ4Hd5UrXX/KjxKGouttWyR36UnTgGYJbFbcw8eZaoKASL0bDbSmw9 aZaw== X-Gm-Message-State: AG10YOSCJU4MbDt5M/ePP8wCoGF4+NH495fkbIVOGkBl1NJhzTBo57zdxTC1mtvZSUe2jA== X-Received: by 10.98.42.10 with SMTP id q10mr3366848pfq.73.1455726494016; Wed, 17 Feb 2016 08:28:14 -0800 (PST) Received: from ?IPv6:2601:647:4802:1669:287f:a736:4e3:9c67? ([2601:647:4802:1669:287f:a736:4e3:9c67]) by smtp.googlemail.com with ESMTPSA id q16sm3788549pfi.80.2016.02.17.08.28.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Feb 2016 08:28:12 -0800 (PST) To: Christian Schneider , PHP internals References: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> Message-ID: <56C49F95.7020403@lerdorf.com> Date: Wed, 17 Feb 2016 08:28:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kvniqX9LLxOG8BelLmePbIBLhiXKojoSM" Subject: Re: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion From: rasmus@lerdorf.com (Rasmus Lerdorf) --kvniqX9LLxOG8BelLmePbIBLhiXKojoSM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/17/2016 05:06 AM, Christian Schneider wrote: > Hi there, > we just ran into a version of the bug "JIT bug with lookbehind assertio= n": > https://bugs.exim.org/show_bug.cgi?id=3D1189 >=20 > To reproduce it you can use > php -n -r 'ini_set("pcre.jit", 0); echo preg_replace("/\b(11|21|41)\b/= u", "z", "x=C2=B011\n");' > vs. > php -n -r 'ini_set("pcre.jit", 1); echo preg_replace("/\b(11|21|41)\b/= u", "z", "x=C2=B011\n");' >=20 > Since the PCRE bug report dates from 2011-12-27 and is still marked NEW= I wonder if it would be safer for PHP to disable pcre.jit in the recomme= nded php.ini configuration files. >=20 > Also: Does anyone know who might be able/willing to look at the upstrea= m bug? >=20 > Regards, > - Chris Just replying here since many people probably missed this since gmail classified it as spam. -Rasmus --kvniqX9LLxOG8BelLmePbIBLhiXKojoSM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlbEn5sACgkQlxayKTuqOuCGxwCfUOZYsbmsrFfi11AO7O99Xy0L 7ikAniV2YqBLwYrlDsM9AH4jkFsg6wYF =8+N8 -----END PGP SIGNATURE----- --kvniqX9LLxOG8BelLmePbIBLhiXKojoSM--