Bug Fix Advisory tcsh bug fix update

Advisory: RHBA-2008:0676-5
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-07-24
Last updated on: 2008-07-24
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
OVAL: N/A

Details

An updated tcsh package that fixes several bugs is now available.

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

This updated package fixes the following bugs:

* a bug in the "/etc/csh.cshrc" script prevented tcsh debugging scripts
from running. For example, a tcsh script that contained "#!/bin/tcsh -Xvn"
failed to run, producing output similar to the following:

if ( "$group" == "$user" && $uid > 99 ) then
endif
if ( $?prompt ) then
$?prompt: No match.

This has been resolved in this updated package.

* in the previous tcsh package, MAXVARLEN had a maximum value of 30.
Attempting to use a variable with a name longer than 30 characters may
have resulted in a "Variable name too long" error. In this updated package,
MAXVARLEN has a maximum value of 256, which resolves this issue.

* the previous tcsh man page stated that memory limits could be set using
the "memoryuse" option; however, this option was not honored, and memory
limits were never applied. It is not possible to limit memory usage using
the "memoryuse" option. The tcsh man page has been updated to reflect
this, as well as not being able to use RLIMIT_RSS to limit tcsh memory
usuage.

* tcsh scripts broke when using case statements that contained the "end"
keyword. Running a tcsh script that contained the "end" keyword produced
the following output when the "end" statement was reached:

end: Not in while/foreach.

In this updated package, "end" keywords no longer break scripts.

Users of tcsh 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

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
tcsh-6.13-10.el4.src.rpm     655536bd46a1f02f336b4aa49966c85f
 
IA-32:
tcsh-6.13-10.el4.i386.rpm     90581c69f00285eea965503db83c8fd3
 
x86_64:
tcsh-6.13-10.el4.x86_64.rpm     ad771b17a0766af37798d841226b2c58
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
tcsh-6.13-10.el4.src.rpm     655536bd46a1f02f336b4aa49966c85f
 
IA-32:
tcsh-6.13-10.el4.i386.rpm     90581c69f00285eea965503db83c8fd3
 
IA-64:
tcsh-6.13-10.el4.ia64.rpm     4b5d52ac07563059aa45f0d334610bae
 
PPC:
tcsh-6.13-10.el4.ppc.rpm     6b7d5b803d472af4667b1e39d161b02c
 
s390:
tcsh-6.13-10.el4.s390.rpm     9cae29dcddf9312855798347a02533d6
 
s390x:
tcsh-6.13-10.el4.s390x.rpm     abd198d5329b09ce8270bdbc3d61001d
 
x86_64:
tcsh-6.13-10.el4.x86_64.rpm     ad771b17a0766af37798d841226b2c58
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
tcsh-6.13-10.el4.src.rpm     655536bd46a1f02f336b4aa49966c85f
 
IA-32:
tcsh-6.13-10.el4.i386.rpm     90581c69f00285eea965503db83c8fd3
 
IA-64:
tcsh-6.13-10.el4.ia64.rpm     4b5d52ac07563059aa45f0d334610bae
 
x86_64:
tcsh-6.13-10.el4.x86_64.rpm     ad771b17a0766af37798d841226b2c58
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
tcsh-6.13-10.el4.src.rpm     655536bd46a1f02f336b4aa49966c85f
 
IA-32:
tcsh-6.13-10.el4.i386.rpm     90581c69f00285eea965503db83c8fd3
 
IA-64:
tcsh-6.13-10.el4.ia64.rpm     4b5d52ac07563059aa45f0d334610bae
 
x86_64:
tcsh-6.13-10.el4.x86_64.rpm     ad771b17a0766af37798d841226b2c58
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

204029 - the /etc/csh.cshrc blocks csh/tcsh scripts from debugging



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/