Upstream issue: https://github.com/PCRE2Project/pcre2/issues/261 Upstream commits: https://github.com/PCRE2Project/pcre2/commit/794245ecc296724b52f5030831e58bedbffa2452 https://github.com/PCRE2Project/pcre2/commit/457c0e69a8f78d32bc7d4b6422cd01e396a4cf5d This was originally reported by Remi COLLET in the CentOS Stream bug: https://issues.redhat.com/browse/RHEL-9938 Reproducible: Always
I confirm this affects all RPM version of pcre2 10.32 in RHEL-8 10.40 in F37 and RHEL-9 10.42 in F38+
I will focus on the Fedora Rawhide (and RHEL-9/CentOS Stream 9) only, as we don't have any customer/user tickets regarding this bug. For the RHEL-9 we agreed on this with the PHP maintainer: https://issues.redhat.com/browse/RHEL-9938 If it blocks you in other versions of Fedora please let me know.
Scratch build passes and the JIT test as well: https://src.fedoraproject.org/rpms/pcre2/pull-request/16 Remi, if you have your own tests, you can verify the fix.
Tested on F39 (local mock build) php-8.2.13~RC1 ext/pcre/tests/gh11374.phpt is failing (as expected) pcre2-10.42-2 + php-8.2.13~RC1 All tests are passing, the issue is fixed and no regression detected.
Thank you for confirming. I'll move to C9S now.
Build is in the Rawhide already: https://bodhi.fedoraproject.org/updates/FEDORA-2023-461a04f756