Skip to main content

IZ92411: 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

    IZ92411

  • Reported component name

    JAVA 5 SECURITY

  • Reported component ID

    620500125

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-19

  • 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 5 SECURITY

  • Fixed component ID

    620500125

Applicable component levels

  • R500 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Security


Software version:
5.0


Reference #:
IZ92411


Modified date:
2011-07-14

Translate my page

Content navigation