IBM Support

IV50102: VI WITH A NON ISO8859-1 CODE SET FAILS TO HANDLE NULL CHARS APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to reproduce:
    
    - use "vi" in a locale with a code set other than
    ISO8859-1
    e.g.:
    export LANG=fr_FR.8859-15
    
    - load a file containing "null" characters
      (which should be ignored)
    e.g.:
    
    # echo "a\n\000b" > testfile
    
    # od -a testfile
    0000000    a  lf nul   b  lf
    0000005
    
    -> vi testfile shows
    a
    a
    b
    ~
    
    -> the first line is doubled
    

Local fix

  • - use a locale with a code set of "ISO8859-1"
    
    OR
    
    - remove all null characters from the input file
    
    # cat file | tr -d "\000" > file.repaired
    

Problem summary

  • vi with a non ISO8859-1 code set fails to handle null
    character.
    

Problem conclusion

  • Ignoring the null character.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV50102

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-09-27

  • Closed date

    2013-09-27

  • Last modified date

    2014-10-28

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

    IV47741

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U861305

       UP14/10/28 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 October 2014