Bug 1210423
| Summary: | pcregrep -o '(?<=\Ka)' does not halt | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||||
| Component: | pcre | Assignee: | Petr Pisar <ppisar> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | 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: | |||||||||
| : | 1217084 (view as bug list) | Environment: | |||||||
| Last Closed: | 2015-05-12 20:35:34 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: |
|
||||||||
Created attachment 1012761 [details]
Upstream fix for pcregrep ported to 8.36
Created attachment 1012980 [details]
Upstream fix for pcretest ported to 8.36
pcre-8.36-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/pcre-8.36-5.fc22 pcre-8.35-9.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pcre-8.35-9.fc21 pcre-8.33-9.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcre-8.33-9.fc20 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. pcre-8.35-10.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pcre-8.35-10.fc21 pcre-8.33-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcre-8.33-10.fc20 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). 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. 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. |
This command never halts: $ echo -n a | pcregrep '(?<=\Ka)' Fixed with upstream commit: commit b4332d7dd831b3547b3f541495de4a79554e538e Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> Date: Tue Apr 7 15:52:11 2015 +0000 Fix pcregrep loop when \K is used in a lookbehind assertion. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1543 2f5784b3-3f2a-0410-8824-cb99058d5e15 Similar bug is in pcretest: $ printf '%s\n%s\n' '/(?<=\Ka)/g+' 'aaaaa' | pcretest Fixed with upstream commitL commit c3579a7581cb8b3ca3c9617d63083afea29de646 Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> Date: Tue Apr 7 16:19:03 2015 +0000 Fix pcretest loop for \K in lookbehind assertion. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1544 2f5784b3-3f2a-0410-8824- cb99058d5e15 All Fedoras are affected.