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 1217100 - Crash when matching /\C\X*/ in UTF-8 mode
Summary: Crash when matching /\C\X*/ in UTF-8 mode
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcre
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-29 14:33 UTC by Petr Pisar
Modified: 2015-05-18 07:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1210576
Environment:
Last Closed: 2015-05-18 07:39:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Upsream fix ported to 8.32 (4.49 KB, patch)
2015-04-29 14:33 UTC, Petr Pisar
no flags Details | Diff

Description Petr Pisar 2015-04-29 14:33:34 UTC
Created attachment 1020210 [details]
Upsream fix ported to 8.32

+++ This bug was initially created as a clone of Bug #1210576 +++

This command crashes:

$ printf '%s\n%s\n' '/\C\X*QT/8' 'Ӆ\x0aT' | pcretest

Fixed with upstream commit:

commit 4a81b0ca19da65ea9a50c208017a74e55c3fd027
Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date:   Wed Apr 8 16:34:24 2015 +0000

    Fix backtracking bug for \C\X* in UTF mode.
    
    
    git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1545 2f5784b3-3f2a-0410-8824-cb99058d5e15


This command crashes:

$ printf '%s\n%s\n' '/\C(\W?ſ)'"'"'?{{/8' '\\C(\\W?ſ)'"'"'?{{' | pcretest

Fixed with upstream commit:

commit 6719c2cdeb7670d4bf10f15a8511ca15af7ea595
Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date:   Wed Apr 8 16:56:28 2015 +0000

    Fix other cases of backtracking crashes after \C in UTF mode.
    
    
    git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1546 2f5784b3-3f2a-0410-8824-
cb99058d5e15

All Fedoras are affected.

[...]
------

pcre-8.32-14.el7.x86_64 is affected.

Comment 1 Petr Pisar 2015-04-29 14:35:09 UTC
I'm not much confident regarding this port, but it works and I did not found any regressions.


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