RE: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion
| From: | Anatol Belski | Date: | Thu, 18 Feb 2016 08:16:10 +0000 |
| Subject: | RE: [PHP-DEV] PCRE jit bug with UTF-8 and lookbehind assertion | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91262@lists.php.net to get a copy of this message | ||
Hi Christian,
> -----Original Message-----
> From: Christian Schneider [mailto:cschneid@cschneid.com]
> Sent: Wednesday, February 17, 2016 2:07 PM
> To: PHP internals <internals@lists.php.net>
> 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=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");'
>
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