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

RHBA-2015:1277 - bash bug fix update


Synopsis

bash bug fix update

Type/Severity

Bug Fix Advisory

Topic

Updated bash packages that fix several bugs are now available for Red Hat Enterprise Linux 6.

Description

The bash packages provide the Bash (Bourne-again shell) shell, which is the default shell for Red Hat Enterprise Linux.

This update fixes the following bugs:

  • Prior to this update, Bash refused to import previously exported functions whose names contained a hyphen. As a consequence, scripts that used such functions did not work properly, and Bash printed the following error message:

    bash: error importing function definition for `BASH_FUNC_function-name'

With this update, Bash accepts hyphens in the names of imported functions. (BZ#1148507)

  • Previously, Bash incorrectly parsed function definitions containing a here-document that ended with the end-of-file or end-of-string character. Consequently, Bash accessed an invalid memory segment when the parsed function was copied, and Bash terminated with a segmentation fault. This problem has been fixed. As a result, Bash no longer crashes when the aforementioned function definitions are used. (BZ#1150544, BZ#1155455)

  • The section in the Bash man page describing the ulimit command did not contain the fact that 512-byte blocks are used for the "-c" and "-f" options in POSIX mode. This information has now been added. (BZ#1119587)

Users of bash 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.

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

  • bash-4.1.2-33.el6.src.rpm
  • bash-doc-4.1.2-33.el6.x86_64.rpm
  • bash-debuginfo-4.1.2-33.el6.i686.rpm
  • bash-debuginfo-4.1.2-33.el6.s390x.rpm
  • bash-4.1.2-33.el6.i686.rpm
  • bash-debuginfo-4.1.2-33.el6.ppc64.rpm
  • bash-4.1.2-33.el6.x86_64.rpm
  • bash-doc-4.1.2-33.el6.ppc64.rpm
  • bash-debuginfo-4.1.2-33.el6.x86_64.rpm
  • bash-4.1.2-33.el6.ppc64.rpm
  • bash-doc-4.1.2-33.el6.s390x.rpm
  • bash-4.1.2-33.el6.s390x.rpm
  • bash-doc-4.1.2-33.el6.i686.rpm

Fixes

CVEs

(none)

References

(none)


Additional information