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
    • 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-2009:1019 - Bug Fix Advisory
Issued:
2009-05-18
Updated:
2009-05-18

RHBA-2009:1019 - 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

An updated grep package that fixes various bugs is now available.

Description

Grep searches through textual input for lines matching a regular expression.

This updated grep package includes fixes for the following bugs:

  • while searching certain immense binary files in which the newline

character did not appear for large expanses (for hundreds of megabytes of
text, for instance), grep may have missed a subsequent match. Because the
grep utility is not intended to process arbitrarily-long files in this
manner, this updated version now exits with a "line too long" error message
and an appropriate error code under these conditions.

  • when operating on particular multi-byte character sets (but not, notably,

UTF-8), grep could enter an infinite loop and become unresponsive. This has
been fixed in this updated package so that grep is once again able to
process these multi-byte character sets without hanging.

  • certain combinations of output control options could cause the grep tool

to segmentation fault. With this updated package, these combinations no
longer cause grep to segmentation fault.

All users of grep are advised to upgrade to this updated package, which
resolves these issues.

Solution

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

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 4 x86_64
  • Red Hat Enterprise Linux Server 4 ia64
  • Red Hat Enterprise Linux Server 4 i386
  • Red Hat Enterprise Linux Workstation 4 x86_64
  • Red Hat Enterprise Linux Workstation 4 ia64
  • Red Hat Enterprise Linux Workstation 4 i386
  • Red Hat Enterprise Linux Desktop 4 x86_64
  • Red Hat Enterprise Linux Desktop 4 i386
  • Red Hat Enterprise Linux for IBM z Systems 4 s390x
  • Red Hat Enterprise Linux for IBM z Systems 4 s390
  • Red Hat Enterprise Linux for Power, big endian 4 ppc

Fixes

  • BZ - 440258 - grep-mem-exhausted.patch introduces regressions

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 4

SRPM
grep-2.5.1-32.4.el4.src.rpm SHA-256: 40e4e0f01de3527602a253623b8e01ce911d710d0ed4c7fb63e4480445a0b850
x86_64
grep-2.5.1-32.4.el4.x86_64.rpm SHA-256: c2621904d9b0ca93c4b933060b65bf7390c12099dcb37320d70782110d7a94cf
grep-2.5.1-32.4.el4.x86_64.rpm SHA-256: c2621904d9b0ca93c4b933060b65bf7390c12099dcb37320d70782110d7a94cf
ia64
grep-2.5.1-32.4.el4.ia64.rpm SHA-256: 2ba81df30b3d6b2ee75c7209b5c01c8108b9a44e3f8babd08682f0c076131770
grep-2.5.1-32.4.el4.ia64.rpm SHA-256: 2ba81df30b3d6b2ee75c7209b5c01c8108b9a44e3f8babd08682f0c076131770
i386
grep-2.5.1-32.4.el4.i386.rpm SHA-256: be0aa7060dbd977e9c0bfa9aef1dd3c0b74a5978c5f71a6067876ba833a505d8
grep-2.5.1-32.4.el4.i386.rpm SHA-256: be0aa7060dbd977e9c0bfa9aef1dd3c0b74a5978c5f71a6067876ba833a505d8

Red Hat Enterprise Linux Workstation 4

SRPM
grep-2.5.1-32.4.el4.src.rpm SHA-256: 40e4e0f01de3527602a253623b8e01ce911d710d0ed4c7fb63e4480445a0b850
x86_64
grep-2.5.1-32.4.el4.x86_64.rpm SHA-256: c2621904d9b0ca93c4b933060b65bf7390c12099dcb37320d70782110d7a94cf
ia64
grep-2.5.1-32.4.el4.ia64.rpm SHA-256: 2ba81df30b3d6b2ee75c7209b5c01c8108b9a44e3f8babd08682f0c076131770
i386
grep-2.5.1-32.4.el4.i386.rpm SHA-256: be0aa7060dbd977e9c0bfa9aef1dd3c0b74a5978c5f71a6067876ba833a505d8

Red Hat Enterprise Linux Desktop 4

SRPM
grep-2.5.1-32.4.el4.src.rpm SHA-256: 40e4e0f01de3527602a253623b8e01ce911d710d0ed4c7fb63e4480445a0b850
x86_64
grep-2.5.1-32.4.el4.x86_64.rpm SHA-256: c2621904d9b0ca93c4b933060b65bf7390c12099dcb37320d70782110d7a94cf
i386
grep-2.5.1-32.4.el4.i386.rpm SHA-256: be0aa7060dbd977e9c0bfa9aef1dd3c0b74a5978c5f71a6067876ba833a505d8

Red Hat Enterprise Linux for IBM z Systems 4

SRPM
grep-2.5.1-32.4.el4.src.rpm SHA-256: 40e4e0f01de3527602a253623b8e01ce911d710d0ed4c7fb63e4480445a0b850
s390x
grep-2.5.1-32.4.el4.s390x.rpm SHA-256: 5428a85437891fa410570d06023833cc861831bbb660bf0908e6bfacffb4077a
s390
grep-2.5.1-32.4.el4.s390.rpm SHA-256: 7fe8dcda4bd43c406bd74ae81e29e193a1c25696eec483c3616a6267905eaabf

Red Hat Enterprise Linux for Power, big endian 4

SRPM
grep-2.5.1-32.4.el4.src.rpm SHA-256: 40e4e0f01de3527602a253623b8e01ce911d710d0ed4c7fb63e4480445a0b850
ppc
grep-2.5.1-32.4.el4.ppc.rpm SHA-256: 756695ef608c0f8d18078ba0506141cd2ada0837e608430a5897821a747fe59f

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
© 2026 Red Hat

Red Hat legal and privacy links

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