IBM Support

IV88683: KSH MAY CORRUPT ITS HISTORY FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • - use a multibyte character set, e.g. EN_US (UTF-8)
    - the history file (default: $HOME/.sh_history) may get
      corrupted with invalid command number entries
    
    ksh may run into troubles when such a corrupted history
    file is read at a later time.
    

Local fix

  • no work-around possible
    

Problem summary

  • If the corrupted history file is read at later time, while
    retriving the commands back there may be some corruption
    

Problem conclusion

  • Separated the flush of commands and flush of command number
    entry, the commands are being written w.r.t. the locale and
    command number entries are being written only in C locale.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV88683

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-25

  • Closed date

    2016-08-25

  • Last modified date

    2017-10-13

  • APAR is sysrouted FROM one or more of the following:

    IV82647

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U870515

       UP17/10/13 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
18 April 2022