- Issued:
- 2013-02-20
- Updated:
- 2013-02-20
RHBA-2013:0430 - Bug Fix Advisory
Synopsis
ksh bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated ksh packages that fix several bugs and add one enhancement are now
available for Red Hat Enterprise Linux 6.
Description
KSH-93 is the most recent version of the KornShell by David Korn of AT&T Bell
Laboratories. KornShell is a shell programming language which is also compatible
with sh, the original Bourne Shell.
This update fixes the following bugs:
- Originally, ksh buffered output of a subshell, flushing it when the subshell
completed. This slowed certain processes that waited for a particular output,
because they had to wait for the subshell to complete. Moreover, it made it
difficult to determine the order of events. The new version of ksh flushes
output of the subshell every time the subshell executes a new command. Thanks to
this change, processes waiting for the subshell output receive their data after
every subshell command and the order of events is preserved. (BZ#827512)
- Previously, the sfprints() function was unsafe to be called during the shell
initialization, which could corrupt the memory. Consequently, assigning a
right-aligned variable to a smaller size could result in inappropriate output
format. With this update, the sfprints() call is no longer used in the described
scenario, which fixes the format of the output. (BZ#846663)
- Due to a bug in the typeset command, when executed with the -Z option, output
was being formatted to an incorrect width. As a result, exporting a
right-aligned variable of a smaller size than the predefined field size caused
it to not be prepended with the "0" character. A patch has been provided and the
typeset command now works as expected in the aforementioned scenario.
(BZ#846678)
In addition, this update adds the following enhancement:
- With this update, ksh has been enhanced to support logging of the shell
output. (BZ#869155)
Users of ksh are advised to upgrade to these updated packages, which fix these
bugs and add this enhancement.
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
- 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 x86_64
- 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 (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6 x86_64
Fixes
(none)CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
i386 | |
ksh-20100621-19.el6.i686.rpm | SHA-256: 74e30b8f540b62a8b242214e136f00627abd6ac277ad5911ef775fb74ce58880 |
ksh-debuginfo-20100621-19.el6.i686.rpm | SHA-256: c613190287939ebd093060ee04d24f89b5307e3376c4d8225a9f65e218e0d07c |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
i386 | |
ksh-20100621-19.el6.i686.rpm | SHA-256: 74e30b8f540b62a8b242214e136f00627abd6ac277ad5911ef775fb74ce58880 |
ksh-debuginfo-20100621-19.el6.i686.rpm | SHA-256: c613190287939ebd093060ee04d24f89b5307e3376c4d8225a9f65e218e0d07c |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
i386 | |
ksh-20100621-19.el6.i686.rpm | SHA-256: 74e30b8f540b62a8b242214e136f00627abd6ac277ad5911ef775fb74ce58880 |
ksh-debuginfo-20100621-19.el6.i686.rpm | SHA-256: c613190287939ebd093060ee04d24f89b5307e3376c4d8225a9f65e218e0d07c |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
i386 | |
ksh-20100621-19.el6.i686.rpm | SHA-256: 74e30b8f540b62a8b242214e136f00627abd6ac277ad5911ef775fb74ce58880 |
ksh-debuginfo-20100621-19.el6.i686.rpm | SHA-256: c613190287939ebd093060ee04d24f89b5307e3376c4d8225a9f65e218e0d07c |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
s390x | |
ksh-20100621-19.el6.s390x.rpm | SHA-256: 87bbe3fef646e5ed4344d62ca479b59ae74cd01c237cbff8e3f059cd15949143 |
ksh-debuginfo-20100621-19.el6.s390x.rpm | SHA-256: 5b9a2b69545fb4a8a420d28ac197c532a4aa8f9c76ad98c4341525ec24c8bf1a |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
ppc64 | |
ksh-20100621-19.el6.ppc64.rpm | SHA-256: 548f6d108fc34de7cac74d62fa3111f296cdcc807dff3e603f6a2fa68c2aabb7 |
ksh-debuginfo-20100621-19.el6.ppc64.rpm | SHA-256: ccbe3e21a64d742aa110752589cb789cc514bc5ad50b1935d8b1d5477af8a780 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
i386 | |
ksh-20100621-19.el6.i686.rpm | SHA-256: 74e30b8f540b62a8b242214e136f00627abd6ac277ad5911ef775fb74ce58880 |
ksh-debuginfo-20100621-19.el6.i686.rpm | SHA-256: c613190287939ebd093060ee04d24f89b5307e3376c4d8225a9f65e218e0d07c |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
s390x | |
ksh-20100621-19.el6.s390x.rpm | SHA-256: 87bbe3fef646e5ed4344d62ca479b59ae74cd01c237cbff8e3f059cd15949143 |
ksh-debuginfo-20100621-19.el6.s390x.rpm | SHA-256: 5b9a2b69545fb4a8a420d28ac197c532a4aa8f9c76ad98c4341525ec24c8bf1a |
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6
SRPM | |
---|---|
ksh-20100621-19.el6.src.rpm | SHA-256: 7d0b5b14062712990bdca3dac0f074005118822f4ca1aafe1bab04ff8d0418fb |
x86_64 | |
ksh-20100621-19.el6.x86_64.rpm | SHA-256: c330af9ac58ab9cfbfd4e712a1760fb1f1038694b4a41c084c8bfdacf01b88a3 |
ksh-debuginfo-20100621-19.el6.x86_64.rpm | SHA-256: 778f22bb94559587edf84f3c12fdfdf9b1739e2081412e32b367dc0bc0119ed7 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.