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-2012:0159 - Bug Fix Advisory
Issued:
2012-02-20
Updated:
2012-02-20

RHBA-2012:0159 - Bug Fix Advisory

  • Overview
  • Updated Packages

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.

View affected systems

Topic

An updated ksh package that fixes multiple bugs and adds one enhancement is 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 updated ksh package includes numerous bug fixes and one enhancement. Space
precludes documenting all of these changes in this advisory. Users are directed
to the Red Hat Enterprise Linux 5.8 Technical Notes for information on the most
significant of these changes:

https://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/5.8_Technical_Notes/ksh.html#RHBA-2012-0159

All users of ksh are advised to upgrade to this updated package, which fixes
these bugs and adds 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/kb/docs/DOC-11259

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 - 573936 - [PATCH] read in a ksh script in utf-8 locale does not restore tty settings
  • BZ - 584704 - Return of a command substitution from within another command substitution causes stdin of coprocess to be closed in a ksh script
  • BZ - 586923 - ksh memory leak significantly slows the execution of shell scripts
  • BZ - 587127 - whence -q broken
  • BZ - 615284 - wrong redirections with SIGPIPE traps
  • BZ - 616853 - ksh crashes
  • BZ - 640379 - pipefail option causes intermittent failure of 'ls|! grep'
  • BZ - 642508 - ksh doesn't close the file including the function definition
  • BZ - 644128 - problem with here-doc in function called from here-doc
  • BZ - 647524 - completion after an environment variable results in a "bad substitution" error
  • BZ - 650998 - The dot command may misdirect output
  • BZ - 659459 - In ksh scripts, files may be created but then fail to be immediately opened.
  • BZ - 683722 - ksh crashes when IFS is unset inside a function
  • BZ - 691850 - misprocessing of invalid PID argument for ksh built-in kill
  • BZ - 699641 - KSH default path missing 'cwd' /bin:/usr/bin missing colon at the end
  • BZ - 709774 - ksh handling variable assignment with the use of multiple pipes and different variable assignment mechanisms
  • BZ - 726199 - wait fails on pid of co-process
  • BZ - 727891 - ksh crashes when IFS is unset inside a function - PART 2
  • BZ - 743302 - ksh script never comes back
  • BZ - 747249 - Dereference of uninitialized value (ksh)

CVEs

(none)

References

  • https://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/5.8_Technical_Notes/ksh.html#RHBA-2012-0159
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-5.el5.src.rpm SHA-256: 3b012df8358ad1b424ce061272fac7c7cf0c9ae7cddd1db7602a3976c8f3dc4b
x86_64
ksh-20100621-5.el5.x86_64.rpm SHA-256: d8a57c2bf9306e79955a8cf2e74c859ae3bb1c814412510ab5be1a07fb6ba90c
ia64
ksh-20100621-5.el5.ia64.rpm SHA-256: b663e23af2e9cdc87eb90a6da257a05426568d9a77a08a444826f728ba19c308
i386
ksh-20100621-5.el5.i386.rpm SHA-256: 4067af2008a56195da134083deb862523a5ce55bf13db204315c3ae71dac0e99

Red Hat Enterprise Linux Workstation 5

SRPM
ksh-20100621-5.el5.src.rpm SHA-256: 3b012df8358ad1b424ce061272fac7c7cf0c9ae7cddd1db7602a3976c8f3dc4b
x86_64
ksh-20100621-5.el5.x86_64.rpm SHA-256: d8a57c2bf9306e79955a8cf2e74c859ae3bb1c814412510ab5be1a07fb6ba90c
i386
ksh-20100621-5.el5.i386.rpm SHA-256: 4067af2008a56195da134083deb862523a5ce55bf13db204315c3ae71dac0e99

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
ksh-20100621-5.el5.src.rpm SHA-256: 3b012df8358ad1b424ce061272fac7c7cf0c9ae7cddd1db7602a3976c8f3dc4b
s390x
ksh-20100621-5.el5.s390x.rpm SHA-256: bb1312d72d17f402a85bbf916d5da39ba04316607147e8ddae624f772638dfea

Red Hat Enterprise Linux for Power, big endian 5

SRPM
ksh-20100621-5.el5.src.rpm SHA-256: 3b012df8358ad1b424ce061272fac7c7cf0c9ae7cddd1db7602a3976c8f3dc4b
ppc
ksh-20100621-5.el5.ppc.rpm SHA-256: d3b45b0ce5f0a52e0745191ec4c1aa3a0ef6761040081e993dfdc2bfb8df7e05

Red Hat Enterprise Linux Server from RHUI 5

SRPM
ksh-20100621-5.el5.src.rpm SHA-256: 3b012df8358ad1b424ce061272fac7c7cf0c9ae7cddd1db7602a3976c8f3dc4b
x86_64
ksh-20100621-5.el5.x86_64.rpm SHA-256: d8a57c2bf9306e79955a8cf2e74c859ae3bb1c814412510ab5be1a07fb6ba90c
i386
ksh-20100621-5.el5.i386.rpm SHA-256: 4067af2008a56195da134083deb862523a5ce55bf13db204315c3ae71dac0e99

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 <a href='http://www.redhat.com/en/about/privacy-policy' class='privacy-policy'>Privacy Statement</a> effective September 15, 2023.
Red Hat Summit Red Hat Summit
Twitter