Bug 2248133 - pcre2: Fix an issue with restoring originally unset entries in recursion
Summary: pcre2: Fix an issue with restoring originally unset entries in recursion
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pcre2
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lukas Javorsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-06 11:06 UTC by Lukas Javorsky
Modified: 2023-11-11 14:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-11 14:17:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Comment 1 Remi Collet 2023-11-07 15:00:28 UTC
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+

Comment 2 Lukas Javorsky 2023-11-07 16:21:38 UTC
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.

Comment 3 Lukas Javorsky 2023-11-09 16:13:57 UTC
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.

Comment 4 Remi Collet 2023-11-10 06:20:47 UTC
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.

Comment 5 Lukas Javorsky 2023-11-11 14:16:56 UTC
Thank you for confirming.

I'll move to C9S now.

Comment 6 Lukas Javorsky 2023-11-11 14:17:49 UTC
Build is in the Rawhide already: https://bodhi.fedoraproject.org/updates/FEDORA-2023-461a04f756


Note You need to log in before you can comment on or make changes to this bug.