Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91313 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64168 invoked from network); 19 Feb 2016 08:20:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2016 08:20:37 -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:32963] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/52-44579-250D6C65 for ; Fri, 19 Feb 2016 03:20:35 -0500 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 5793078298F; Fri, 19 Feb 2016 09:20:31 +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 CC82778298F; Fri, 19 Feb 2016 09:20:28 +0100 (CET) To: "'Christian Schneider'" , "'PHP internals'" References: <79F03701-9083-439B-A9D1-43E24C99CF13@cschneid.com> <012501d16a24$a230d050$e69270f0$@belski.net> In-Reply-To: <012501d16a24$a230d050$e69270f0$@belski.net> Date: Fri, 19 Feb 2016 09:20:25 +0100 Message-ID: <031b01d16aee$645ef340$2d1cd9c0$@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: AQCki6lgPnkuaeTfOvRULIcZxGmWEQIEFtpNoXykiCA= 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: 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 >=20 > Hi Christian, >=20 > > -----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? >=20 Could you please write back, what is the out difference between those = two commands? Thanks. Anatol