Bug 1210417 - Crash when compiling /(?<=((?2))((?1)))/
Summary: Crash when compiling /(?<=((?2))((?1)))/
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcre
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-09 16:40 UTC by Petr Pisar
Modified: 2015-05-12 20:38 UTC (History)
3 users (show)

Fixed In Version: pcre-8.33-10.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1217074 (view as bug list)
Environment:
Last Closed: 2015-05-12 20:35:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Upstream fix ported to 8.36 (4.72 KB, patch)
2015-04-09 16:42 UTC, Petr Pisar
no flags Details | Diff

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.


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