Issued:
2015-07-22
Updated:
2015-07-22

RHEA-2015:1374 - pcre enhancement update


Synopsis

pcre enhancement update

Type/Severity

Product Enhancement Advisory

Topic

Updated pcre packages that add one enhancement are now available for Red Hat Enterprise Linux 6.

Description

PCRE is a Perl-compatible regular expression library.

This update adds the following enhancement:

  • To allow the grep utility to recover from PCRE matching failures if the binary file is not a valid UTF-8 sequence, the following features have been backported to the PCRE library:
  • The pcre_exec() function now checks for out-of-range starting offset values and reports PCRE_ERROR_BADOFFSET errors instead of reporting PCRE_ERROR_NOMATCH errors or looping infinitely.

  • If the pcre_exec() function is called to perform a UTF-8 match on an invalid UTF-8 subject string and the ovector array argument is large enough, the offset of the first subject string in the invalid UTF-8 byte, as well as the detailed reason code, are returned in the ovector array element. In addition, the "pcretest" utility can now be used to display these details. Note that with this update, the pcre_compile() function reports first invalid UTF-8 byte instead of the last byte.

Also note that the signature of the pcre_valid_utf8() function, which is not intended for public use, has been changed. Finally, note that "pcretest" now appends human-readable error messages to error codes. (BZ#1193524)

Users of pcre are advised to upgrade to these updated packages, which add this enhancement.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • pcre-static-7.8-7.el6.x86_64.rpm
  • pcre-devel-7.8-7.el6.s390.rpm
  • pcre-7.8-7.el6.src.rpm
  • pcre-devel-7.8-7.el6.x86_64.rpm
  • pcre-debuginfo-7.8-7.el6.x86_64.rpm
  • pcre-devel-7.8-7.el6.ppc.rpm
  • pcre-static-7.8-7.el6.i686.rpm
  • pcre-7.8-7.el6.x86_64.rpm
  • pcre-devel-7.8-7.el6.s390x.rpm
  • pcre-devel-7.8-7.el6.ppc64.rpm
  • pcre-7.8-7.el6.s390.rpm
  • pcre-debuginfo-7.8-7.el6.i686.rpm
  • pcre-devel-7.8-7.el6.i686.rpm
  • pcre-7.8-7.el6.i686.rpm
  • pcre-static-7.8-7.el6.ppc64.rpm
  • pcre-debuginfo-7.8-7.el6.ppc.rpm
  • pcre-debuginfo-7.8-7.el6.s390x.rpm
  • pcre-7.8-7.el6.ppc64.rpm
  • pcre-debuginfo-7.8-7.el6.s390.rpm
  • pcre-7.8-7.el6.s390x.rpm
  • pcre-7.8-7.el6.ppc.rpm
  • pcre-debuginfo-7.8-7.el6.ppc64.rpm
  • pcre-static-7.8-7.el6.s390x.rpm

Fixes

CVEs

(none)

References

(none)


Additional information