VOOZH about

URL: https://www.ibm.com/support/pages/apar/IV87772

⇱ IV87772: ARRAYINDEXOUTOFBOUNDS EXCEPTION IN IBMJCE SECURITY PROVIDER ON Z/OS


IV87772: ARRAYINDEXOUTOFBOUNDS EXCEPTION IN IBMJCE SECURITY PROVIDER ON Z/OS

APAR status

  • Closed as program error.

Error description

  • Error Message: Array index out of range
    .
    Stack Trace: Exception in thread "main"
    java.lang.ArrayIndexOutOfBoundsException: Array index out of
    range: 10
     at java.lang.System.arraycopy(Native Method)
     at com.ibm.crypto.provider.AbstractBufferingCipher.a(Unknown
    Source)
     at
    com.ibm.crypto.provider.AbstractBufferingCipher.engineDoFinal(Un
    known Source)
     at javax.crypto.CipherSpi.a(Unknown Source)
     at javax.crypto.CipherSpi.engineDoFinal(Unknown Source)
     at javax.crypto.Cipher.doFinal(Unknown Source)
    .
    

Local fix

Problem summary

  • AES/CFB, DES/CFB, DESede/CFB modes get
    ArrayIndexOutOfBoundsException in some cases when output buffer
    is provided by caller.
    

Problem conclusion

  • A fix was made to IBMJCE to correctly calculate the length for
    arraycopy.
    .
    This APAR will be fixed in the following Java Releases:
     8 SR3 FP11 (8.0.3.11)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
     https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV87772

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-08

  • Closed date

    2016-08-12

  • Last modified date

    2016-09-13

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

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

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R270 PSY

       UP

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

Document Information

Modified date:
07 December 2020