RHBA-2015:0317

Type: Bug fix
Severity: None
Published: 2015-03-05
Red Hat Enterprise Linux 7

The bash packages provide the Bash (Bourne-again shell) shell, which is the default shell for Red Hat Enterprise Linux. The bash packages have been upgraded to upstream version 4.2.46, with patches equivalent to upstream patch levels 47-49, 52 and 53 also applied, which provides a number of bug fixes and enhancements over the previous version. (BZ#1073683) This update also fixes the following bugs: * After editing a command in vi visual mode, Bash echoed every substituted command, which produced a lengthy shell output when editing loops. This behavior has been changed and Bash now only echoes the original string in the described scenario. (BZ#1102813) * The bash(1) manual page did not mention that 512-byte blocks are used for the "-c" and "-f" options in POSIX mode. This update adds the missing piece of information to bash(1). (BZ#1112709) * If a command substitution enclosed in double-quote characters contained a double-quoted string, Bash performed brace expansion on the command before performing command substitution. Consequently, the command created different output than expected. The bug has been fixed, and command substitution now precedes brace expansion in the described case. (BZ#1116301) * The previous version of the bash(1) manual page did not provide a clear description of the "break", "continue", and "suspend" built-in commands. This update corrects this error, and extpands the manual page to provide accurate and complete descriptions of these commands. (BZ#1126370) * When the HISTFILESIZE variable was set to a value larger than zero, the HISTSIZE variable was set to zero as well. If the .bash_history file had time stamps enabled and was not empty, executing the "su - " command caused Bash to become unresponsive. This bug has been fixed, and Bash no longer hangs in the aforementioned scenario. (BZ#1126396) * The bash(1) manual page did not reflect the behavior changes in the "extglob" option introduced in Bash version 4.1. This update adds a correct description of "extglob" behavior to the bash(1) man page. (BZ#1126401) * When Bash parsed a function definition that contained a here-document delimited by end-of-file (or end-of-string), it left the closing delimiter uninitialized. This could cause an invalid memory access when the parsed function was later copied. This bug has been fixed and the closing delimiter is now initialized properly. * A combination of nested command substitutions and function importing from the environment could cause bash to execute code that appeared in the environment variable value following the function definition. This bug has been fixed and the aforementioned problem no longer occurs. (BZ#1175647) Users of bash are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:18:25.555Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:18:25.555Z UTC. Last updated 2026-10-07T09:04:33.677Z UTC.

Upstream Advisory

Affected Packages

  • bash 4.2.46-12.el7

  • bash-doc 4.2.46-12.el7

Interested in being alerted when there are new versions of bash and the other packages? Set up an alert.
RHBA-2015:0317: bash bug fix and enhancement update | Package Alert