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 703140 - Problems with caseless reference matching in UTF-8 mode when the upper/lower case characters have different lengths
Summary: Problems with caseless reference matching in UTF-8 mode when the upper/lower ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pcre
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: BaseOS QE Security Team
URL: http://bugs.exim.org/show_bug.cgi?id=...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-09 12:26 UTC by Petr Pisar
Modified: 2014-10-21 12:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 702623
Environment:
Last Closed: 2014-10-21 12:36:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Simple testcase (101 bytes, text/plain)
2011-05-09 12:38 UTC, Petr Pisar
no flags Details

Description Petr Pisar 2011-05-09 12:26:35 UTC
+++ This bug was initially created as a clone of Bug #702623 +++

E.g. pcretest input:

/(ȺȺȺ)?\1/8i
    ȺȺȺⱥⱥ

should not match (the thirds lower `ⱥ' is missing) but pcre <= 8.12 states falsely:

 0: \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}
 1: \x{23a}\x{23a}\x{23a}

This is fixed in development SVN tree in commits 

r595 | ph10 | 2011-05-02 12:33:29 +0200 (Po, 02 kvě 2011) | 3 lines
Fix problems with caseless reference matching in UTF-8 mode when the 
upper/lower case characters have different lengths.

and 

r597 | ph10 | 2011-05-02 19:08:52 +0200 (Po, 02 kvě 2011) | 2 lines
Complete incomplete fix for UTF-8 caseless references of different lengths.

This bug is tracked by upstream at <http://bugs.exim.org/show_bug.cgi?id=1074>.

All Fedoras affected (pcre-8.12-2.fc15.x86_64 through pcre-7.8-3.fc12.x86_64).

--- Additional comment from ppisar on 2011-05-09 11:59:30 GMT ---

Created attachment 497774 [details]
Fix ported from upstream

Fix including tests ported from upstream to pcre-8.12.

----
RHEL-6.1 affected (pcre-7.8-3.1.el6.x86_64).

Comment 2 Petr Pisar 2011-05-09 12:38:56 UTC
Created attachment 497778 [details]
Simple testcase

This performs a case from upstream test suite. See into the patch for more cases.

Comment 3 RHEL Program Management 2011-05-09 12:47:42 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 Petr Pisar 2011-10-27 08:33:35 UTC
The upstream fix is hard to back-port to 7.8. See cloning bug for the effort.

Comment 5 Petr Pisar 2014-10-21 12:36:12 UTC
Because porting a fix for this bug very difficult, we will not fix it issue.


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