Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91262 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21766 invoked from network); 18 Feb 2016 08:16:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2016 08:16:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:37841] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/70-13277-3DD75C65 for ; Thu, 18 Feb 2016 03:16:19 -0500 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 6317A782993; Thu, 18 Feb 2016 09:16:16 +0100 (CET) Received: from w530phpdev (pD9FD2183.dip0.t-ipconnect.de [217.253.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 33FE778298B; Thu, 18 Feb 2016 09:16:14 +0100 (CET) To: "'Christian Schneider'" , "'PHP internals'" References: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> In-Reply-To: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> Date: Thu, 18 Feb 2016 09:16:10 +0100 Message-ID: <012501d16a24$a230d050$e69270f0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQCki6lgPnkuaeTfOvRULIcZxGmWEaGLMNJw Content-Language: en-us Subject: RE: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion From: anatol.php@belski.net ("Anatol Belski") Hi Christian, > -----Original Message----- > From: Christian Schneider [mailto:cschneid@cschneid.com] > Sent: Wednesday, February 17, 2016 2:07 PM > To: PHP internals > Subject: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion >=20 > Hi there, > we just ran into a version of the bug "JIT bug with lookbehind = assertion": > 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 Seems valgrind doesn't detect any issues with this code. Using latest = 7.0.4-dev code with PCRE 8.38, valgrind 3.10.0 on Jessie. Is there = something else I could miss? Thanks Anatol