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

From: Date: Fri, 04 Jun 2021 13:51:00 +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-234210@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
 User updated by:    rlanting at move4mobile dot com
 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:

Upstream has fixed it in r1315:

https://vcs.pcre.org/pcre2?view=revision&revision=1315


Previous Comments:
------------------------------------------------------------------------
[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.

------------------------------------------------------------------------
[2021-06-03 14:25:48] rlanting at move4mobile dot com

As an additional note, I tried reproducing with the pcre2test binary but couldn't get it to
break with that.

------------------------------------------------------------------------


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


Thread (10 messages)

« previous php.bugs (#234210) next »