Bug 1210576

Summary: Crash when matching /\C\X*/ in UTF-8 mode
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: pcreAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: c.david86, lkundrak, ppisar
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcre-8.33-10.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1217100 (view as bug list) Environment:
Last Closed: 2015-05-12 20:35:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Upstream fixes ported to 8.36 none

Description Petr Pisar 2015-04-10 06:27:13 UTC
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.

Comment 1 Petr Pisar 2015-04-10 06:38:14 UTC
Created attachment 1012982 [details]
Upstream fixes ported to 8.36

Comment 2 Fedora Update System 2015-04-10 07:13:07 UTC
pcre-8.36-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pcre-8.36-5.fc22

Comment 3 Fedora Update System 2015-04-10 08:24:03 UTC
pcre-8.35-9.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pcre-8.35-9.fc21

Comment 4 Fedora Update System 2015-04-10 14:00:43 UTC
pcre-8.33-9.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pcre-8.33-9.fc20

Comment 5 Fedora Update System 2015-04-22 22:45:52 UTC
pcre-8.36-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-04-24 06:53:47 UTC
pcre-8.35-10.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pcre-8.35-10.fc21

Comment 7 Fedora Update System 2015-04-24 07:14:22 UTC
pcre-8.33-10.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pcre-8.33-10.fc20

Comment 8 Fedora Update System 2015-04-26 12:55:45 UTC
Package pcre-8.33-10.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pcre-8.33-10.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-6928/pcre-8.33-10.fc20
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2015-05-12 20:35:35 UTC
pcre-8.35-10.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-05-12 20:38:22 UTC
pcre-8.33-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.