- Issued:
- 2008-12-05
- Updated:
- 2008-12-05
RHBA-2008:1010 - Bug Fix Advisory
Synopsis
ash bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated ash package that fixes a bug is now available.
Description
The ash (Almquist) shell is a command interpreter compatible with the
Bourne shell. It does not provide extras that may be common with other
shells such as bash, tcsh and zsh.
This updated ash package fixes a bug which could cause scripts containing a
line similar to the following not to work correctly:
PID=$! ; wait $PID
This was due to ash producing a negative number in the "$!" variable, which
holds the Process Identifier (PID) of the most recently-executed background
process. PID numbers are all positive integers; therefore, a negative
number could never match an actual process.
The issue was found to be caused by the "backgndpid" variable being
declared as type short. The maximum value of a PID can exceed that of type
short, which led to a negative PID value. In this updated package, the
declaration of the "backgndpid" variable has been changed to an int
(integer) type, which is able to accommodate for much larger PID values.
All users of ash are advised to upgrade to this updated package, which
resolves this issue.
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/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 4 x86_64
- Red Hat Enterprise Linux Server 4 ia64
- Red Hat Enterprise Linux Server 4 i386
- Red Hat Enterprise Linux for x86_64 - Extended Update Support 4.7 x86_64
- Red Hat Enterprise Linux for x86_64 - Extended Update Support 4.7 ia64
- Red Hat Enterprise Linux for x86_64 - Extended Update Support 4.7 i386
- Red Hat Enterprise Linux Workstation 4 x86_64
- Red Hat Enterprise Linux Workstation 4 ia64
- Red Hat Enterprise Linux Workstation 4 i386
- Red Hat Enterprise Linux Desktop 4 x86_64
- Red Hat Enterprise Linux Desktop 4 i386
- Red Hat Enterprise Linux for IBM z Systems 4 s390x
- Red Hat Enterprise Linux for IBM z Systems 4 s390
- Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 4.7 s390x
- Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 4.7 s390
- Red Hat Enterprise Linux for Power, big endian 4 ppc
- Red Hat Enterprise Linux for Power, big endian - Extended Update Support 4.7 ppc
Fixes
- BZ - 470443 - [4.5]When execute an user shell using the ash, the value of minus PID is output.
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 4
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
x86_64 | |
ash-0.3.8-20.el4_7.1.x86_64.rpm | SHA-256: 797f5dcb3392b1fd7bdd85a0e3a18e3e7ef148c8c62e1086a16e506bf8b234bd |
ash-0.3.8-20.el4_7.1.x86_64.rpm | SHA-256: 797f5dcb3392b1fd7bdd85a0e3a18e3e7ef148c8c62e1086a16e506bf8b234bd |
ia64 | |
ash-0.3.8-20.el4_7.1.ia64.rpm | SHA-256: 393a535787dd76eaff2c6dd918423879c3cfdbc0d11f9804b93272f152b46566 |
ash-0.3.8-20.el4_7.1.ia64.rpm | SHA-256: 393a535787dd76eaff2c6dd918423879c3cfdbc0d11f9804b93272f152b46566 |
i386 | |
ash-0.3.8-20.el4_7.1.i386.rpm | SHA-256: 948a403ea8dc902d4c58e8fb7e453dc085aabcff55582a91339a3a5a9eb1637c |
ash-0.3.8-20.el4_7.1.i386.rpm | SHA-256: 948a403ea8dc902d4c58e8fb7e453dc085aabcff55582a91339a3a5a9eb1637c |
Red Hat Enterprise Linux for x86_64 - Extended Update Support 4.7
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
x86_64 | |
ash-0.3.8-20.el4_7.1.x86_64.rpm | SHA-256: 797f5dcb3392b1fd7bdd85a0e3a18e3e7ef148c8c62e1086a16e506bf8b234bd |
ash-0.3.8-20.el4_7.1.x86_64.rpm | SHA-256: 797f5dcb3392b1fd7bdd85a0e3a18e3e7ef148c8c62e1086a16e506bf8b234bd |
ia64 | |
ash-0.3.8-20.el4_7.1.ia64.rpm | SHA-256: 393a535787dd76eaff2c6dd918423879c3cfdbc0d11f9804b93272f152b46566 |
ash-0.3.8-20.el4_7.1.ia64.rpm | SHA-256: 393a535787dd76eaff2c6dd918423879c3cfdbc0d11f9804b93272f152b46566 |
i386 | |
ash-0.3.8-20.el4_7.1.i386.rpm | SHA-256: 948a403ea8dc902d4c58e8fb7e453dc085aabcff55582a91339a3a5a9eb1637c |
ash-0.3.8-20.el4_7.1.i386.rpm | SHA-256: 948a403ea8dc902d4c58e8fb7e453dc085aabcff55582a91339a3a5a9eb1637c |
Red Hat Enterprise Linux Workstation 4
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
x86_64 | |
ash-0.3.8-20.el4_7.1.x86_64.rpm | SHA-256: 797f5dcb3392b1fd7bdd85a0e3a18e3e7ef148c8c62e1086a16e506bf8b234bd |
ia64 | |
ash-0.3.8-20.el4_7.1.ia64.rpm | SHA-256: 393a535787dd76eaff2c6dd918423879c3cfdbc0d11f9804b93272f152b46566 |
i386 | |
ash-0.3.8-20.el4_7.1.i386.rpm | SHA-256: 948a403ea8dc902d4c58e8fb7e453dc085aabcff55582a91339a3a5a9eb1637c |
Red Hat Enterprise Linux Desktop 4
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
x86_64 | |
ash-0.3.8-20.el4_7.1.x86_64.rpm | SHA-256: 797f5dcb3392b1fd7bdd85a0e3a18e3e7ef148c8c62e1086a16e506bf8b234bd |
i386 | |
ash-0.3.8-20.el4_7.1.i386.rpm | SHA-256: 948a403ea8dc902d4c58e8fb7e453dc085aabcff55582a91339a3a5a9eb1637c |
Red Hat Enterprise Linux for IBM z Systems 4
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
s390x | |
ash-0.3.8-20.el4_7.1.s390x.rpm | SHA-256: f93d788fe2d13a0a5c68f09beaa1815d7dc2908d3f01af63e8c184a7366223f0 |
s390 | |
ash-0.3.8-20.el4_7.1.s390.rpm | SHA-256: d29843e31b5db53d50877014eedfa70e8a76034443e541579f71bc7a0c6ab554 |
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 4.7
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
s390x | |
ash-0.3.8-20.el4_7.1.s390x.rpm | SHA-256: f93d788fe2d13a0a5c68f09beaa1815d7dc2908d3f01af63e8c184a7366223f0 |
s390 | |
ash-0.3.8-20.el4_7.1.s390.rpm | SHA-256: d29843e31b5db53d50877014eedfa70e8a76034443e541579f71bc7a0c6ab554 |
Red Hat Enterprise Linux for Power, big endian 4
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
ppc | |
ash-0.3.8-20.el4_7.1.ppc.rpm | SHA-256: 23c9cc2fbb4e4bf3792660ea3a5566531ac55da98f64283d97a9b8a1f4c38687 |
Red Hat Enterprise Linux for Power, big endian - Extended Update Support 4.7
SRPM | |
---|---|
ash-0.3.8-20.el4_7.1.src.rpm | SHA-256: 9eee03717fbf2a4e46e153012b618e681df17e33a798ae034b555b357472e8d3 |
ppc | |
ash-0.3.8-20.el4_7.1.ppc.rpm | SHA-256: 23c9cc2fbb4e4bf3792660ea3a5566531ac55da98f64283d97a9b8a1f4c38687 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.