- Issued:
- 2013-06-25
- Updated:
- 2013-11-20
RHBA-2013:0977 - Bug Fix Advisory
Synopsis
grep bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated grep packages that fix several bugs are now available for Red Hat
Enterprise Linux 6.
Description
The grep utility searches through textual input for lines which contain a match
to a specified pattern and then prints the matching lines. GNU grep utilities
include grep, egrep and fgrep.
This update fixes the following bugs:
- For some regular expressions, the DFA analysis could insert up to double
"positions" than there were leaves. Consequently, there were not enough room to
insert all the positions and grep could terminate unexpectedly on certain
regular expressions. To fix this problem, space allocation has been increased
and grep works as expected in the described scenario. (BZ#715295)
- When a fixed string pattern was empty while the case-insensitive search was
active, grep could terminate unexpectedly. With this update, the check for this
case has been added to the code and grep works as expected in the described
scenario. (BZ#797934)
- Previously, the code handling case-insensitive searches could alter a string's
byte size while converting it to lower case. Consequently, grep could truncate
certain output strings. To fix this bug, the grep code has been modified to
correctly handle such cases when the byte size gets altered during the
conversion to lower case. As a result, case-insensitive searches work correctly
and grep no longer truncates its output. (BZ#826997)
Users of grep are advised to upgrade to these updated packages, which fix these
bugs.
Solution
Before applying this update, make sure all previously-released errata relevant
to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6 x86_64
Fixes
- BZ - 715295 - [abrt] grep-2.6.3-2.el6: __libc_message: Process /bin/grep was killed by signal 6 (SIGABRT)
- BZ - 826997 - grep -i (case-insensitive) is broken with UTF8
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
i386 | |
grep-2.6.3-4.el6.i686.rpm | SHA-256: 912f8b4fef1acb061eb68baa3d5960e136d66d5bf7d8834012ed8b13f47992d8 |
grep-debuginfo-2.6.3-4.el6.i686.rpm | SHA-256: 7d2fea6f68efc58e2726dec59abdb05819935fb65aed58751343b8f060f202a6 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
i386 | |
grep-2.6.3-4.el6.i686.rpm | SHA-256: 912f8b4fef1acb061eb68baa3d5960e136d66d5bf7d8834012ed8b13f47992d8 |
grep-debuginfo-2.6.3-4.el6.i686.rpm | SHA-256: 7d2fea6f68efc58e2726dec59abdb05819935fb65aed58751343b8f060f202a6 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
i386 | |
grep-2.6.3-4.el6.i686.rpm | SHA-256: 912f8b4fef1acb061eb68baa3d5960e136d66d5bf7d8834012ed8b13f47992d8 |
grep-debuginfo-2.6.3-4.el6.i686.rpm | SHA-256: 7d2fea6f68efc58e2726dec59abdb05819935fb65aed58751343b8f060f202a6 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
i386 | |
grep-2.6.3-4.el6.i686.rpm | SHA-256: 912f8b4fef1acb061eb68baa3d5960e136d66d5bf7d8834012ed8b13f47992d8 |
grep-debuginfo-2.6.3-4.el6.i686.rpm | SHA-256: 7d2fea6f68efc58e2726dec59abdb05819935fb65aed58751343b8f060f202a6 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
s390x | |
grep-2.6.3-4.el6.s390x.rpm | SHA-256: bb826b2080404b96294c99d9cf93f00614e11433ccca7fc5f238bf0fa6d0780b |
grep-debuginfo-2.6.3-4.el6.s390x.rpm | SHA-256: 46d5be288c2e63b8eeec060270c2287c2ccbbfcd9d486e50f2d5f1edd9b4d321 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
ppc64 | |
grep-2.6.3-4.el6.ppc64.rpm | SHA-256: 3d35b733343c7e637958cc4ceae1b677eb0a85b105588d8ce664b8c47b5abb4f |
grep-debuginfo-2.6.3-4.el6.ppc64.rpm | SHA-256: b5d2b0afbbd8418b3dcb566c5b83f5e2f3f6f9f7fff01496299a73a8603c7875 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
i386 | |
grep-2.6.3-4.el6.i686.rpm | SHA-256: 912f8b4fef1acb061eb68baa3d5960e136d66d5bf7d8834012ed8b13f47992d8 |
grep-debuginfo-2.6.3-4.el6.i686.rpm | SHA-256: 7d2fea6f68efc58e2726dec59abdb05819935fb65aed58751343b8f060f202a6 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
s390x | |
grep-2.6.3-4.el6.s390x.rpm | SHA-256: bb826b2080404b96294c99d9cf93f00614e11433ccca7fc5f238bf0fa6d0780b |
grep-debuginfo-2.6.3-4.el6.s390x.rpm | SHA-256: 46d5be288c2e63b8eeec060270c2287c2ccbbfcd9d486e50f2d5f1edd9b4d321 |
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6
SRPM | |
---|---|
grep-2.6.3-4.el6.src.rpm | SHA-256: 2d9a53477565e37c9375c7fc041fde6bd3ec1451450805cd26aed9868b0a650f |
x86_64 | |
grep-2.6.3-4.el6.x86_64.rpm | SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db |
grep-debuginfo-2.6.3-4.el6.x86_64.rpm | SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.