Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2013:0977 - Bug Fix Advisory
Issued:
2013-06-25
Updated:
2013-11-20

RHBA-2013:0977 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

grep bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

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 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 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x

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)

Note: More recent versions of these packages may be available. Click a package name for more details.

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-2.6.3-4.el6.x86_64.rpm SHA-256: caafe98a16ceca13bc1bbdad49aa68b84f66fa150dd85127042941ee7e0b07db
grep-debuginfo-2.6.3-4.el6.x86_64.rpm SHA-256: b54b2b3a47a68147b5f718af2f57a18f04b0501822d39e5974b244eb26504242
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 - Extended Life Cycle Support Extension 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 Extension (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

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility