Bug #81101 [Ana]: PCRE2 10.37 shows unexpected result

From: Date: Sun, 06 Jun 2021 23:56:13 +0000
Subject: Bug #81101 [Ana]: PCRE2 10.37 shows unexpected result
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234237@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81101&edit=1 ID: 81101 Updated by: ab@php.net Reported by: rlanting at move4mobile dot com Summary: PCRE2 10.37 shows unexpected result Status: Analyzed Type: Bug Package: PCRE related Operating System: MacOS 11.3.1 PHP Version: 8.0.6 Assigned To: ab Block user comment: N Private report: N New Comment: I pushed a potential fix to master. I'd suggest to observe for a week or two and backport into 7.4+ if it goes ok. Thanks. Previous Comments: ------------------------------------------------------------------------ [2021-06-04 13:51:00] rlanting at move4mobile dot com Upstream has fixed it in r1315: https://vcs.pcre.org/pcre2?view=revision&revision=1315 ------------------------------------------------------------------------ [2021-06-04 12:06:24] ab@php.net Thanks for filing the upstream report. The offending commit is https://vcs.pcre.org/pcre2?view=revision&revision=1302 It'd be still better if it were fixable on our side, as 10.37 is already out. I'll see for that. Thanks ------------------------------------------------------------------------ [2021-06-04 06:59:40] rlanting at move4mobile dot com PCRE bug report: https://bugs.exim.org/show_bug.cgi?id=2763 ------------------------------------------------------------------------ [2021-06-03 14:41:44] nikic@php.net Can reproduce on master, where bundled PCRE is 10.37. It does not reproduce with -d pcre.jit=0, so this is clearly a PCRE JIT bug. Assigning to @ab as he did the upgrade of the bundled version, but in the end this will need an upstream report and fix. ------------------------------------------------------------------------ [2021-06-03 14:40:21] Danack at basereality dot com As a simple thing to check, please could you set ini_set("pcre.jit", "0"); to see if that makes any difference on the broken version. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=81101 -- Edit this bug report at https://bugs.php.net/bug.php?id=81101&edit=1

« previous php.bugs (#234237) next »