Bug 1210417

Summary: Crash when compiling /(?<=((?2))((?1)))/
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:
: 1217074 (view as bug list) Environment:
Last Closed: 2015-05-12 20:35:41 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 fix ported to 8.36 none

Description Petr Pisar 2015-04-09 16:40:58 UTC
This code crashes:

$ printf '%s\n%s\n' '/(?<=((?2))((?1)))/' '' | pcretest

Fixed by upstream commit:

commit 256d94987eecd7eb87b37e1c981a4e753ed8ab7a
Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>
Date:   Wed Apr 1 15:43:53 2015 +0000

    Fix stack overflow instead of diagnostic for mutual recursion inside a
    lookbehind assertion.
    
    
    git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1542 2f5784b3-3f2a-0410-8824-
cb99058d5e15

All Fedoras are affected.

Comment 1 Petr Pisar 2015-04-09 16:42:23 UTC
Created attachment 1012746 [details]
Upstream fix ported to 8.36

Comment 2 Fedora Update System 2015-04-10 07:13:05 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:02 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:41 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:50 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:51 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:21 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:44 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:41 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:20 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.