Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68954 invoked from network); 19 Feb 2016 09:18:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2016 09:18:17 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; 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:43308] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C3/13-44579-7DDD6C65 for ; Fri, 19 Feb 2016 04:18:16 -0500 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 6942C78298F; Fri, 19 Feb 2016 10:18:09 +0100 (CET) Received: from w530phpdev (pD9FD2033.dip0.t-ipconnect.de [217.253.32.51]) (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 3D95F78298E; Fri, 19 Feb 2016 10:18:07 +0100 (CET) To: "'Christian Schneider'" , "'PHP internals'" References: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> <012501d16a24$a230d050$e69270f0$@belski.net> <031b01d16aee$645ef340$2d1cd9c0$@belski.net> In-Reply-To: <031b01d16aee$645ef340$2d1cd9c0$@belski.net> Date: Fri, 19 Feb 2016 10:18:02 +0100 Message-ID: <032101d16af6$71bf0c20$553d2460$@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: AQCki6lgPnkuaeTfOvRULIcZxGmWEQIEFtpNAWCMn0yhca/poA== Content-Language: en-us Subject: RE: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion From: anatol.php@belski.net ("Anatol Belski") Christian, > -----Original Message----- > From: Anatol Belski [mailto:anatol.php@belski.net] > Sent: Friday, February 19, 2016 9:20 AM > To: 'Christian Schneider' ; 'PHP internals' > > Subject: RE: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind = assertion >=20 > Hi Christian, >=20 > > -----Original Message----- > > From: Anatol Belski [mailto:anatol.php@belski.net] > > Sent: Thursday, February 18, 2016 9:16 AM > > To: 'Christian Schneider' ; 'PHP internals' > > > > Subject: RE: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind > > assertion > > > > 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 > > > > > > 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 > > > > > > 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");' > > > > > 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? > > > Could you please write back, what is the out difference between those = two > commands? >=20 One more question - are you using (the bundled or external) PCRE 8.38? Thanks Anatol=20