IBM Support

IV71018: UTF16 DECODER'S WRITE BUFFER HANDLING ISSUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • Destination buffer size is calculated before putting converted
    char data.Even if destination buffer size is 0, MalformedInput
    error should be detected to report caller.
    

Problem conclusion

  • Check unconverted source buffer before returning OVERFLOW.If
    first 2 bytes are converted to U+FFFE, return value is changed
    to malformedForLength(2).If first 2 bytes are high surrogate,
    check remaining buffer size. If unconverted source buffer size
    is less than 4 bytes, return value is changed to UNDERFLOW.If
    first 2 bytes are high surrogate, check next 2 bytes. If they
    are not low surrogate, return value is changed to
    malformedForLength(4).If first 2 bytes are low surrogate, return
    value is changed to malformedForLength(2).
    .
    This APAR will be fixed in the following Java Releases:
       8    SR1       (8.0.1.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV71018

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-13

  • Closed date

    2015-03-23

  • Last modified date

    2015-03-23

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

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

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022