- Issued:
- 2011-12-06
- Updated:
- 2011-12-06
RHBA-2011:1686 - Bug Fix Advisory
Synopsis
tcsh bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated tcsh package that fixes various bugs is now available for Red Hat
Enterprise Linux 6.
Description
Tcsh is an enhanced and compatible version of the C shell (csh). It is a command
language interpreter, which can be used as an interactive login shell, as well
as a shell script command processor.
This updated tcsh package includes fixes for the following bugs:
- Under certain circumstances when using the cwd symbolic link, a null pointer
may have been incorrectly dereferenced, causing the tcsh shell to terminate
unexpectedly. With this update, the pointer is now checked properly and tcsh no
longer crashes. (BZ#700309)
- This package fixes the return value of the "status" (or "$?") variable in the
case of pipelines and backquoted commands. The "anyerror" variable, which
selects the behavior, has been added to retain backward compatibility.
(BZ#658190)
- If the tcsh shell redirected standard output to a child process using a pipe
and this child process terminated, the shell tried to print a message to the
already-closed pipe as a high-priority event that could never been finished. As
a consequence, tcsh entered an infinite loop and consumed up to 100% of the CPU.
To fix this issue, this error event is now removed from the event queue before
the shell tries to write it to the broken pipe. As result, the parent process
terminates ordinarily. (BZ#690356)
- Prior to this update, the blkend() function was called redundantly in the tsch
code. These calls had no effect on tcsh functionality and thus they have been
removed. Tcsh functionality remains unchanged and the code is now more
effective. (BZ#684063)
- The tcsh shell allowed variables to named in incorrect formats, such as by
allowing a variable name to begin with a digit. This issue has been fixed:
variable names are now verified according to Unix variable-naming conventions.
(BZ#672592)
All users of tcsh are advised to upgrade to this updated package, which resolves
these issues.
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/kb/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x
Fixes
- BZ - 658190 - Incorrect value of $status ($?) in case of pipelines
- BZ - 672592 - It should not be allowed if environment variable begins with a digit
- BZ - 684063 - code defects in tcsh-6.17.00-glob-automount.patch
- BZ - 690356 - tcsh doesn't exit when child killed, consumes 100% cpu
- BZ - 700309 - null pointer dereference crashes tcsh
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
i386 | |
tcsh-6.17-14.el6.i686.rpm | SHA-256: 58b017b70d34db446cfc68f0ca30afb73b2c144eacfa61dfb0dd35ac214009f6 |
tcsh-debuginfo-6.17-14.el6.i686.rpm | SHA-256: a0b2b20b7457444f148444da3f90ad117800e8ee675e868b510672b18c7b538b |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
i386 | |
tcsh-6.17-14.el6.i686.rpm | SHA-256: 58b017b70d34db446cfc68f0ca30afb73b2c144eacfa61dfb0dd35ac214009f6 |
tcsh-debuginfo-6.17-14.el6.i686.rpm | SHA-256: a0b2b20b7457444f148444da3f90ad117800e8ee675e868b510672b18c7b538b |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
i386 | |
tcsh-6.17-14.el6.i686.rpm | SHA-256: 58b017b70d34db446cfc68f0ca30afb73b2c144eacfa61dfb0dd35ac214009f6 |
tcsh-debuginfo-6.17-14.el6.i686.rpm | SHA-256: a0b2b20b7457444f148444da3f90ad117800e8ee675e868b510672b18c7b538b |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
i386 | |
tcsh-6.17-14.el6.i686.rpm | SHA-256: 58b017b70d34db446cfc68f0ca30afb73b2c144eacfa61dfb0dd35ac214009f6 |
tcsh-debuginfo-6.17-14.el6.i686.rpm | SHA-256: a0b2b20b7457444f148444da3f90ad117800e8ee675e868b510672b18c7b538b |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
s390x | |
tcsh-6.17-14.el6.s390x.rpm | SHA-256: 9c1eed15f2c63a417a14df1d7e8f65e84e85fc8c7a3593dc9d30c09f515c76ba |
tcsh-debuginfo-6.17-14.el6.s390x.rpm | SHA-256: 4d9e9d029218e601a9cb6bc266d934bd44426dda4b136830164ccbb5cd6f8d49 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
ppc64 | |
tcsh-6.17-14.el6.ppc64.rpm | SHA-256: 8207e2828ad2e5fa9f6cea9be832519059ba98cd0d2ecfd98be3fee2cfe7929d |
tcsh-debuginfo-6.17-14.el6.ppc64.rpm | SHA-256: e2a1805da4413d3654ffa6b5b427bfa0b8bd297a5ab306b88c49c41a3d35e944 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
i386 | |
tcsh-6.17-14.el6.i686.rpm | SHA-256: 58b017b70d34db446cfc68f0ca30afb73b2c144eacfa61dfb0dd35ac214009f6 |
tcsh-debuginfo-6.17-14.el6.i686.rpm | SHA-256: a0b2b20b7457444f148444da3f90ad117800e8ee675e868b510672b18c7b538b |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
s390x | |
tcsh-6.17-14.el6.s390x.rpm | SHA-256: 9c1eed15f2c63a417a14df1d7e8f65e84e85fc8c7a3593dc9d30c09f515c76ba |
tcsh-debuginfo-6.17-14.el6.s390x.rpm | SHA-256: 4d9e9d029218e601a9cb6bc266d934bd44426dda4b136830164ccbb5cd6f8d49 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
x86_64 | |
tcsh-6.17-14.el6.x86_64.rpm | SHA-256: a6ee1a9ad423a1565cd75e752c0c902e87e8930ed247c75b2f7f347a58311c41 |
tcsh-debuginfo-6.17-14.el6.x86_64.rpm | SHA-256: c8643ca651439d39e8ac107cf2bcddf08fac8a1ccee0c91af9914834eb856a39 |
i386 | |
tcsh-6.17-14.el6.i686.rpm | SHA-256: 58b017b70d34db446cfc68f0ca30afb73b2c144eacfa61dfb0dd35ac214009f6 |
tcsh-debuginfo-6.17-14.el6.i686.rpm | SHA-256: a0b2b20b7457444f148444da3f90ad117800e8ee675e868b510672b18c7b538b |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
tcsh-6.17-14.el6.src.rpm | SHA-256: 2cf1cad829ad6c32a973d5d1af50079dc6149a59b306d21c3a51ebe5f92663e3 |
s390x | |
tcsh-6.17-14.el6.s390x.rpm | SHA-256: 9c1eed15f2c63a417a14df1d7e8f65e84e85fc8c7a3593dc9d30c09f515c76ba |
tcsh-debuginfo-6.17-14.el6.s390x.rpm | SHA-256: 4d9e9d029218e601a9cb6bc266d934bd44426dda4b136830164ccbb5cd6f8d49 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.