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

  • 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.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

z/OS XL C/C++
Runtime

Software version:

770

Operating system(s):

MVS, z/OS

Reference #:

PM80839

Modified date:

2013-04-02

Translate my page

Machine Translation

Content navigation