Bug 810314 - Look-behind assertion in UTf-8 with JIT compiler unexpected match
Summary: Look-behind assertion in UTf-8 with JIT compiler unexpected match
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcre
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://bugs.exim.org/show_bug.cgi?id=...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-05 15:15 UTC by Petr Pisar
Modified: 2012-04-12 02:43 UTC (History)
3 users (show)

Fixed In Version: pcre-8.21-3.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-12 02:43:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2012-04-05 15:15:52 UTC
There is a regression in PCRE 8.21 when matching with JIT in UTF-8 mode. This should not match:

echo ETA | pcregrep -u '(?i)(?<!b|th|z|m|p|^)eta(?!\w)'

Reported to upstream <http://bugs.exim.org/show_bug.cgi?id=1231> and fixed in SVN commit

r953 | zherczeg | 2012-03-29 19:41:57 +0200 (Čt, 29 bře 2012) | 1 line
Fixed a bug for backward assertions with REVERSE 0 in the JIT compiler

F17 and F18 are affected. F16 and older releases are not.

Comment 1 Petr Pisar 2012-04-05 15:47:07 UTC
Fixed as pcre-8.30-3.fc18 in F18.

Comment 2 Fedora Update System 2012-04-05 16:13:09 UTC
pcre-8.21-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/pcre-8.21-3.fc17

Comment 3 Fedora Update System 2012-04-05 18:23:59 UTC
Package pcre-8.21-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pcre-8.21-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-5329/pcre-8.21-3.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-04-12 02:43:41 UTC
pcre-8.21-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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