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-2008:0380 - Bug Fix Advisory
Issued:
2008-05-21
Updated:
2008-05-21

RHBA-2008:0380 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

bash 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 bash package that fixes several bugs is now available.

Description

Bash is the default shell for Red Hat Enterprise Linux.

This updated package fixes the following bugs:

  • bash did not close two-digit or more file descriptors, such as

"[n]<&-". In this updated package, file descriptors work as expected.

  • the "/etc/skel/.bash_logout" file invoked the "clear" command. This

could break if a user changed their "$PATH" variable. In this updated
package, "/etc/skel/.bash_logout" calls the "clear" command using the full
path, "/usr/bin/clear", which resolves this issue.

  • in certain situations, on systems using UTF-8 locales, starting an

incremental backwards search using "Crtl+R", and then cancelling the search
using "Ctrl+G", resulted in the cursor being in the wrong position, for
example, over the bash prompt text, as exported using the "$PS1" variable.

  • the bash man page has been updated to reflect the correct behavior of

special built-in commands, such as "eval", "exec", and "set", when using
the "posix" mode.

  • the bash man page stated that the maximum resident set size could be set

using the "ulimit -m" option; however, this option does not have any affect
on Linux, and as such, this option has been removed from the bash man page.

  • the bash man page has been updated to explain bash's use of aliases in

non-interactive scripts.

  • bash had problems handling certain multibyte strings in the command line,

which could have caused a segmentation fault.

  • certain expressions in parameter expansions caused a double-free error,

and caused bash to crash.

  • bash mishandled sub-processes that used recycled PIDs. Bash did not wait

for processes using a recycled PID to finish, causing, for example, sleep
to have no effect. This issue may have affected other commands.

As well, this updated package upgrades bash to version 3.2. For a full list
of bug fixes and enhancements, please refere to the bash 3.2 changelog:
http://tiswww.tis.case.edu/~chet/bash/CHANGES

Note: this changelog will be updated after future bash releases.

Users of bash 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/FAQ_58_10188

Affected Products

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

Fixes

  • BZ - 217394 - bash does not close filehandles when asked.
  • BZ - 223963 - .bash_logout: use full path for 'clear'
  • BZ - 242683 - Bad position of cursor in bash
  • BZ - 245641 - [RHEL5 Doc]: Certain bash commands have differing behavior when run as "sh" vs. "bash"
  • BZ - 249566 - 'ulimit -m' does not limit Resident Set Size
  • BZ - 253673 - Bash man page correction for alias expansion.
  • BZ - 380421 - tracker bug for bash 3.2 rebase

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 5

SRPM
bash-3.2-21.el5.src.rpm SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25
x86_64
bash-3.2-21.el5.x86_64.rpm SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43
ia64
bash-3.2-21.el5.i386.rpm SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf
bash-3.2-21.el5.ia64.rpm SHA-256: add1ec9443404c9ac6e0a5d1a35d8c9c8c115d207dcdea5a4ee0e1f84a2f1305
i386
bash-3.2-21.el5.i386.rpm SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf

Red Hat Enterprise Linux Workstation 5

SRPM
bash-3.2-21.el5.src.rpm SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25
x86_64
bash-3.2-21.el5.x86_64.rpm SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43
i386
bash-3.2-21.el5.i386.rpm SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf

Red Hat Enterprise Linux Desktop 5

SRPM
bash-3.2-21.el5.src.rpm SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25
x86_64
bash-3.2-21.el5.x86_64.rpm SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43
i386
bash-3.2-21.el5.i386.rpm SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
bash-3.2-21.el5.src.rpm SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25
s390x
bash-3.2-21.el5.s390x.rpm SHA-256: 3cf19207d34e95d43c01f401b7421577d28224cec916d82b2141aac0d5ec79c3

Red Hat Enterprise Linux for Power, big endian 5

SRPM
bash-3.2-21.el5.src.rpm SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25
ppc
bash-3.2-21.el5.ppc.rpm SHA-256: 146b32b72799d2864ec577b293de6ed1743acfe98ede71dd68bad69e2d6c997e

Red Hat Enterprise Linux Server from RHUI 5

SRPM
bash-3.2-21.el5.src.rpm SHA-256: dd3e0a66a287220c807f14f311076334c0c0bc8bca75c5ba37e22d52a78e0a25
x86_64
bash-3.2-21.el5.x86_64.rpm SHA-256: bf59333302ff33ed4aa684f4aabc19d7d9c5f69fad20a0c8eb14f91cb2414b43
i386
bash-3.2-21.el5.i386.rpm SHA-256: 7c76ea3952d6e64627d93b62751252d6398c611332ebf853203cdc2e5e8118bf

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