PM30706: DERINDEFLENCONVERTER.JAVA.CONVERTINDEFTODEF( ) FAILURE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: The following exception occurs in ContentInfo
    parsing for EnvelopedData containing indefinite length encoding:
    
    java.lang.RuntimeException: java.io.IOException:
    DerIndefLenConverter.convertIndefToDef failed
            at
    com.ibm.security.util.DerInputStream.init(DerInputStream.java:11
    8)
            at
    com.ibm.security.util.DerInputStream.<init>(DerInputStream.java:
    85)
            at
    com.ibm.security.pkcsutil.PKCSDerObject.decode(PKCSDerObject.jav
    a:249
    )
            at
    com.ibm.security.pkcsutil.PKCSDerObject.read(PKCSDerObject.java:
    297)
            at
    com.ibm.security.pkcsutil.PKCSDerObject.<init>(PKCSDerObject.jav
    a:129
    )
            at
    com.ibm.security.pkcs7.ContentInfo.<init>(ContentInfo.java:392)
            at pkcs.ParsingTest.main(ParsingTest.java:8)
    Caused by: java.io.IOException:
    DerIndefLenConverter.convertIndefToDef failed
            ... 7 more
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • The while loop which processes the buffer containing the
    ContentInfo object never checks if the buffer has available data
    to read. When it comes to the end of the buffer, it keeps
    reading, and the exception occurs.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR10
    5.0.0 SR12 FP5
    1.4.2 SR14
    .
    The while loop has been modified to check for available data
    before reading, and to test the encoded data for
    "end-of-content".
    .
    To obtain the fix:
    Install build 20110308 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM30706

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    42A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-18

  • Closed date

    2011-03-08

  • Last modified date

    2011-07-14

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

    IZ92283

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

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R42A PSN

       UP

  • R42L PSN

       UP

  • R42W PSN

       UP

  • R420 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

z/OS family

Software version:

1.4.2

Reference #:

PM30706

Modified date:

2011-07-14

Translate my page

Machine Translation

Content navigation