Bug 619124 - pcre behavior change
pcre behavior change
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Migration_Guide (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Laura Bailey
ecs-bugs
: Documentation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-28 11:54 EDT by Petr Pisar
Modified: 2013-02-05 18:56 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-28 17:24:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Pisar 2010-07-28 11:54:56 EDT
`pcre' package has been rebased to 7.8 version. It brings following behavior changes:

* UTF-8 checking is now as per RFC 3629 instead of RFC 2279; this is more
  restrictive in the strings it accepts.
  E.g., UTF-8 character ordinal value is limited to 0x0010FFFF value now:

  $ echo -ne "\x00\x11\xff\xff" | recode UCS-4-BE..UTF8 | pcregrep --utf-8 '.'
  pcregrep: pcre_exec() error -10 while matching this line:

  See <http://tools.ietf.org/html/rfc3629#section-12> for more details.

* Saved patterns that were compiled by earlier versions of PCRE must be
  recompiled.

  This affects applications that serialize precompiled PCRE expressions to
  external memory (e.g. a file) and load them later (for performance reasons
  usually, like large spam filters).
Comment 2 Scott Radvan 2010-07-28 17:24:27 EDT
Have added this to the guide, changes will appear on the next publish.

Thanks for the specific details, Petr! It's appreciated.

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