RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1048101 - Range check wrongly optimized in JIT
Summary: Range check wrongly optimized in JIT
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcre
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: Martin Kyral
URL: http://bugs.exim.org/show_bug.cgi?id=...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-03 07:32 UTC by Petr Pisar
Modified: 2014-06-18 05:05 UTC (History)
1 user (show)

Fixed In Version: pcre-8.32-10.el7
Doc Type: Bug Fix
Doc Text:
Cause: Matching PCRE pattern containing character ranges with enabled JIT mode. Consequence: The expressions does not match in all cases that match without JIT. Fix: An upstream fix has been applied to optimize character ranges properly in JIT mode while compiling the pattern. Result: PCRE behaves identically regardless of enabling JIT.
Clone Of: 1048097
Environment:
Last Closed: 2014-06-12 08:38:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix (1.50 KB, patch)
2014-01-09 14:13 UTC, Petr Pisar
no flags Details | Diff

Description Petr Pisar 2014-01-03 07:32:29 UTC
+++ This bug was initially created as a clone of Bug #1048097 +++

$ printf '/[efij]/S+\ne\n' | pcretest
PCRE version 8.32 2012-11-30

  re> data> No match
data> 

This should match "e". This is a regression introduced in 8.32 and affects JITted code path.

Reported by upstream <http://bugs.exim.org/show_bug.cgi?id=1423>, a fix is provided there.

Fedoras ≥ 19 are affected.

-----

RHEL 7 is affected (pcre-8.32-8.el7.x86_64).

Comment 1 Petr Pisar 2014-01-09 14:13:21 UTC
Created attachment 847676 [details]
Fix


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