Issued:
2013-02-20
Updated:
2013-02-20

RHBA-2013:0446 - tcsh bug fix update


Synopsis

tcsh bug fix update

Type/Severity

Bug Fix Advisory (none)

Topic

Updated tcsh packages that fix multiple bugs are now available for Red Hat Enterprise Linux 6.

Description

The tcsh packages provide an enhanced and compatible version of the C shell (csh) command language interpreter, which can be used as an interactive login shell, as well as a shell script command processor.

This update fixes the following bugs:

  • Prior to this update, the tcsh command language interpreter could run out of memory because of random "sbrk()" failures in the internal "malloc()" function. As a consequence, tcsh could abort with a segmentation fault. This update uses "system malloc" instead and tcsh no longer aborts. (BZ#769157)

  • Prior to this update, aliases were inserted into the history buffer when saving the history in loops if the alias included a statement that did not work in the loop. This update no longer allows to save the history in loops. Now, only the first line of loops and the "if" statement are saved in the history. Aliases now work as expected. (BZ#814069)

  • Prior to this update, casting was removed when calling a function in the history file locking patch. As a consequence, multibyte tests failed. This update reverts the status before the patch and tests no longer fail. (BZ#821796)

  • Prior to this update, the tcsh logic did not handle file sourcing as expected. As a consequence, source commands failed when using a single-line "if" statement. This update modifies the underlying code to handle source commands as expected. (BZ#847102)

  • Prior to this update, the SIGINT signal was not blocked when the tcsh command language interpreter waited for the child process to finish. As a consequence, tcsh could be aborted with the key combination Ctrl+c. This update blocks the SIGINT signal and tcsh is no longer aborted. (BZ#884937)

All users of tcsh 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/knowledge/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 - 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

  • tcsh-debuginfo-6.17-24.el6.x86_64.rpm
  • tcsh-debuginfo-6.17-24.el6.ppc64.rpm
  • tcsh-6.17-24.el6.src.rpm
  • tcsh-6.17-24.el6.i686.rpm
  • tcsh-debuginfo-6.17-24.el6.i686.rpm
  • tcsh-debuginfo-6.17-24.el6.s390x.rpm
  • tcsh-6.17-24.el6.x86_64.rpm
  • tcsh-6.17-24.el6.s390x.rpm
  • tcsh-6.17-24.el6.ppc64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information