| Summary: | Problems with caseless reference matching in UTF-8 mode when the upper/lower case characters have different lengths | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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: | 14 | CC: | lkundrak, ppisar | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | http://bugs.exim.org/show_bug.cgi?id=1074 | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | pcre-8.10-2.fc14 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | |||||||||||
| : | 703140 (view as bug list) | Environment: | |||||||||
| Last Closed: | 2011-05-19 04:52:46 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 497774 [details]
Fix ported from upstream
Fix including tests ported from upstream to pcre-8.12.
Fixed in pcre-8.12-4.fc16. pcre-8.12-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/pcre-8.12-3.fc15 pcre-8.10-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/pcre-8.10-2.fc14 Package pcre-8.10-2.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pcre-8.10-2.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/pcre-8.10-2.fc14 then log in and leave karma (feedback). Created attachment 498268 [details]
Fix rebased to pcre-7.8
This is rebase of upstream fix. It does not compile because missing macros.
Created attachment 498270 [details]
Missing macros unsuccessfully ported for pcre-7.8
This allows to compile pcre-7.8 (F13), reproducer passes, but other important tests fails. Currently there is no fix for F13.
pcre-8.12-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. pcre-8.10-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
E.g. pcretest input: /(ȺȺȺ)?\1/8i ȺȺȺⱥⱥ should not match (the thirds lower `ⱥ' is missing) but pcre <= 8.12 states falsely: 0: \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65} 1: \x{23a}\x{23a}\x{23a} This is fixed in development SVN tree in commits r595 | ph10 | 2011-05-02 12:33:29 +0200 (Po, 02 kvě 2011) | 3 lines Fix problems with caseless reference matching in UTF-8 mode when the upper/lower case characters have different lengths. and r597 | ph10 | 2011-05-02 19:08:52 +0200 (Po, 02 kvě 2011) | 2 lines Complete incomplete fix for UTF-8 caseless references of different lengths. This bug is tracked by upstream at <http://bugs.exim.org/show_bug.cgi?id=1074>. All Fedoras affected (pcre-8.12-2.fc15.x86_64 through pcre-7.8-3.fc12.x86_64).