IBM Support

PM80839: ICONV DOES NOT PROCESS BIDI LAYOUT VALUES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Unicode Services conversion for bidirectional code pages always
    goes through a two stage process, converting characters from the
    source code page to Unicode, and then from the intermediate
    Unicode representation to the target code page values.  In the
    context of this indirect conversion, the Language Environment
    iconv logic sends the wrong code page name to the layout service
    routine, incorrectly passing the name of the intermediate code
    page. As a result, the service routine fails to recognize that
    the conversion string is a candidate for layout transformation,
    and iconv does not process any layout values
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Language Environment C/C++ applications      *
    *                 that use iconv interfaces with Bidi          *
    *                 layout transformations.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: In the iconv_open() interface,          *
    *                      internal logic that evaluates whether   *
    *                      to initialize Bidi layout services is   *
    *                      incorrect. As a result, iconv_open()    *
    *                      fails to recognize Bidi conversions     *
    *                      and does not set up data structures     *
    *                      for layout transformations when they    *
    *                      are needed.                             *
    *                                                              *
    *                      Testing of this APAR exposed a second   *
    *                      problem.  An out-of-bounds reference    *
    *                      to an internal layout buffer causes     *
    *                      unexpected results, including the       *
    *                      possibility of an 0C4 abend during      *
    *                      layout transformation.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Logic in the iconv_open() interface has been corrected so
    that Bidi conversions are now recognized and the appropriate
    layout initialization takes place.
    
    The internal layout buffer is now allocated dynamically to
    avoid out-of-bounds references during layout transformation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80839

  • Reported component name

    LE C LIBRARY

  • Reported component ID

    568819805

  • Reported release

    770

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-01-17

  • Closed date

    2013-02-21

  • Last modified date

    2013-04-02

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

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

    UK91882 UK91883

Modules/Macros

  • CEHUCNVI CELHWCST CELQWCST CEL4WCST CEQUCNVI
    EDC403B7
    

Fix information

  • Fixed component name

    LE C LIBRARY

  • Fixed component ID

    568819805

Applicable component levels

  • R770 PSY UK91882

       UP13/03/06 P F303

  • R780 PSY UK91883

       UP13/03/06 P F303

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVSBD","label":"Runtime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"770","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"770","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"770","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 April 2013