Re: PCRE jit bug with UTF-8 and lookbehind assertion

From: Date: Wed, 17 Feb 2016 16:28:05 +0000
Subject: Re: PCRE jit bug with UTF-8 and lookbehind assertion
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-91252@lists.php.net to get a copy of this message
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 assertion": > https://bugs.exim.org/show_bug.cgi?id=1189 > > 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°11\n");' > vs. > php -n -r 'ini_set("pcre.jit", 1); echo > preg_replace("/\b(11|21|41)\b/u", "z", "x°11\n");' > > 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 recommended php.ini configuration files. > > Also: Does anyone know who might be able/willing to look at the upstream bug? > > Regards, > - Chris Just replying here since many people probably missed this since gmail classified it as spam. -Rasmus

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#91252) next »