Bug 1111054
| Summary: | Character class with literal quotation is miscompiled | |||
|---|---|---|---|---|
| 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: | 22 | CC: | c.david86, lkundrak, ppisar | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| URL: | http://bugs.exim.org/show_bug.cgi?id=1494 | |||
| Whiteboard: | ||||
| Fixed In Version: | pcre-8.35-3.fc21 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1111091 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-14 15:41:03 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: | ||||
All Fedoras are affected. pcre-8.33-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcre-8.33-5.fc20 pcre-8.32-9.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/pcre-8.32-9.fc19 pcre-8.32-9.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. pcre-8.33-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 |
This should match: $ printf '%s\n%s\n' '/[\Qa]\E]+/' 'a' | ./pcretest -d PCRE version 8.35 2014-04-04 re> ------------------------------------------------------------------ 0 7 Bra 3 a 5 ]++ 7 7 Ket 10 End ------------------------------------------------------------------ Capturing subpattern count = 0 No options First char = 'a' Need char = ']' data> No match data> Upstream fixed it by: commit 8d8c3dbadff3d0735ba696acf211c14b3025622f Author: ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> Date: Wed Jun 18 17:17:03 2014 +0000 Fix bad compile of [\Qx]... where x is any character. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1487 2f5784b3-3f2a-0410-8824-cb99058d5e15