Bug 815282

Summary: Bug in auto-possessifying characters from 127-255 range in non-unicode mode
Product: Red Hat Enterprise Linux 7 Reporter: Petr Pisar <ppisar>
Component: pcreAssignee: Petr Pisar <ppisar>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: c.david86, lkundrak, ppisar
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://lists.exim.org/lurker/message/20120417.194931.38ed4997.en.html
Whiteboard:
Fixed In Version: pcre-8.21-5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 815217 Environment:
Last Closed: 2014-06-12 08:37:28 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:

Description Petr Pisar 2012-04-23 09:35:54 UTC
+++ This bug was initially created as a clone of Bug #815217 +++

This should match:

/\w+\x{C4}/8BZT1
a\x{C4}\x{C4}

But it does not because a some tests in non-unicode mode checks only for characters with ordinal numbers 0-127 instead of 0-255.

This is fixed in upstream commit:

r962 | ph10 | 2012-04-20 19:28:23 +0200 (Pá, 20 dub 2012) | 3 lines
Fix auto-possessifying bugs when PCRE_UCP is not set, but character tables 
specify characters in the range 127-255 are letters, spaces, etc.

All Fedoras affected.

--- Additional comment from ppisar on 2012-04-23 08:03:49 GMT ---

Fixed as pcre-8.30-5.fc18 in F18.

--- Additional comment from updates on 2012-04-23 08:52:10 GMT ---

pcre-8.21-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/pcre-8.21-5.fc17

-----
RHEL-7 (pcre-8.21-4.el7.x86_64) affected.