Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2013:0042 - Bug Fix Advisory
Issued:
2013-01-07
Updated:
2013-01-07

RHBA-2013:0042 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

ksh bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated ksh packages that fix several bugs and add various enhancements are now
available for Red Hat Enterprise Linux 5.

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:

  • Prior to this update, using the -R or -Z options of the typeset command did

not work as expected. When a variable was assigned to a field that was of
smaller size than the size of the variable, it would trim the incorrect values
from the variable. Consequently, the resulting value in the trimmed variable was
incorrect. The underlying source code has been modified and the typeset -R/-Z
command works as expected. (BZ#771188)

  • Previously, ksh did not expand the tilde (~) character properly. For example,

characters in the tilde prefix were not treated as a login name but as a part of
the path and the "No such file or directory" message was displayed. The
underlying source code has been modified and tilde expansion now works as
expected in such a scenario. (BZ#802565)

  • In certain cases, ksh unnecessarily called the vfork() function. An extra

process was created and it could be difficult to determine how many instances of
a script were running. A patch has been applied to address this problem, and
extra processes are no longer created if not required. (BZ#804925)

  • Due to a missing patch that introduced the tsetio flag, the redirect output

behavior changed depending on what ksh version was used. With this update, the
missing patch was added and redirect output behavior is now consistent across
all versions of ksh. (BZ#811318)

  • Previously, ksh did not close certain file descriptors prior to execution.

This could lead to a file descriptor leak, and certain applications could
consequently report error messages. With this update, file descriptors are
marked to be closed on execution if appropriate, so file descriptor leaks no
longer occur. (BZ#812930)

  • 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 smaller size than the predefined field size caused it
to not be prepended with 0 characters. With this update, the typeset command
works as expected in the aforementioned scenario. (BZ#827522)

  • Previously, ksh did not allocate the correct amount of memory for its data

structures containing information about file descriptors. When running a task
that used file descriptors extensively, ksh terminated unexpectedly with a
segmentation fault. With this update, the proper amount of memory is allocated,
and ksh no longer crashes if file descriptors are used extensively. (BZ#827613)

All users of the ksh 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

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 802565 - Tilda expansion failing in ksh

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 5

SRPM
ksh-20100621-12.el5.src.rpm SHA-256: 6a0911b8c682ff1d98ff2c9977d42b43bfe50066061b24a05d776594be7ba700
x86_64
ksh-20100621-12.el5.x86_64.rpm SHA-256: ae026e19e7e30439587c4165b7763494a065017561f730b6069ef3c346caf38c
ksh-debuginfo-20100621-12.el5.x86_64.rpm SHA-256: 29651866111d5501e6fdd394d8402bce2aabe20c4a17f17680eb50e14adf2d47
ia64
ksh-20100621-12.el5.ia64.rpm SHA-256: 693c41ba973db55f5c047d53546576cfab9c14b78e41cbc2c53adc826ee79471
ksh-debuginfo-20100621-12.el5.ia64.rpm SHA-256: ccbe0d8481f4559bf88c3d6d1b4b7f7bee978e39ad36d0e8f0ae79308b6e4cc4
i386
ksh-20100621-12.el5.i386.rpm SHA-256: d0851d034d160da58d6ded93a53e7e5d7f3aeb6955fd3500196e66be28a594af
ksh-debuginfo-20100621-12.el5.i386.rpm SHA-256: b24579abd876902151f3a35884c05f93675077085e1887339051f08d1cbd0502

Red Hat Enterprise Linux Workstation 5

SRPM
ksh-20100621-12.el5.src.rpm SHA-256: 6a0911b8c682ff1d98ff2c9977d42b43bfe50066061b24a05d776594be7ba700
x86_64
ksh-20100621-12.el5.x86_64.rpm SHA-256: ae026e19e7e30439587c4165b7763494a065017561f730b6069ef3c346caf38c
ksh-debuginfo-20100621-12.el5.x86_64.rpm SHA-256: 29651866111d5501e6fdd394d8402bce2aabe20c4a17f17680eb50e14adf2d47
i386
ksh-20100621-12.el5.i386.rpm SHA-256: d0851d034d160da58d6ded93a53e7e5d7f3aeb6955fd3500196e66be28a594af
ksh-debuginfo-20100621-12.el5.i386.rpm SHA-256: b24579abd876902151f3a35884c05f93675077085e1887339051f08d1cbd0502

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
ksh-20100621-12.el5.src.rpm SHA-256: 6a0911b8c682ff1d98ff2c9977d42b43bfe50066061b24a05d776594be7ba700
s390x
ksh-20100621-12.el5.s390x.rpm SHA-256: f82334e8a2e4013fa4566f45ce3081fa6f0908bdc8c7856245e48fbf211db018
ksh-debuginfo-20100621-12.el5.s390x.rpm SHA-256: c4bd2da83af76954d724cdb8017bfa0526f4b521b8403688893adabe5a4efef3

Red Hat Enterprise Linux for Power, big endian 5

SRPM
ksh-20100621-12.el5.src.rpm SHA-256: 6a0911b8c682ff1d98ff2c9977d42b43bfe50066061b24a05d776594be7ba700
ppc
ksh-20100621-12.el5.ppc.rpm SHA-256: 0b306086b56e12d9533f840288d0abc85521fb51b1436cecedead6aa474a6e2c
ksh-debuginfo-20100621-12.el5.ppc.rpm SHA-256: 028193bfb475c97e6b47f40eb293cf43786c3ae98e263fb10bba40dacf067296

Red Hat Enterprise Linux Server from RHUI 5

SRPM
ksh-20100621-12.el5.src.rpm SHA-256: 6a0911b8c682ff1d98ff2c9977d42b43bfe50066061b24a05d776594be7ba700
x86_64
ksh-20100621-12.el5.x86_64.rpm SHA-256: ae026e19e7e30439587c4165b7763494a065017561f730b6069ef3c346caf38c
ksh-debuginfo-20100621-12.el5.x86_64.rpm SHA-256: 29651866111d5501e6fdd394d8402bce2aabe20c4a17f17680eb50e14adf2d47
i386
ksh-20100621-12.el5.i386.rpm SHA-256: d0851d034d160da58d6ded93a53e7e5d7f3aeb6955fd3500196e66be28a594af
ksh-debuginfo-20100621-12.el5.i386.rpm SHA-256: b24579abd876902151f3a35884c05f93675077085e1887339051f08d1cbd0502

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

Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
2023
  • Privacy Statement
  • Terms of Use
  • All Policies and Guidelines
We've updated our Privacy Policy effective July 1st, 2023.
Red Hat Summit Red Hat Summit
Twitter