IBM Support

IV74909: THE AMOUNT OF REREAD DATA IS LESS THAN THE EXPECTED AMOUNT AFTER ENCRYPTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message, as reported by customer:
    When using direct input and output ByteBuffer to perform
    encryption/decryption, the actual amount of encrypted/decrypted
    data returned is not the same as the expected amount.
    
    Stack Trace, if applicable:
    N/A
    
    Other Error Information, as reported by customer:
    N/A
    

Local fix

  • N/A
    

Problem summary

  • Last block of data is not processed when using DIRECT ByteBuffer
    and ByteBuffer.remaining is 0 when calling Cipher.doFinal()
    
    ERROR DESCRIPTION:
    When using direct input and output ByteBuffer to perform
    encryption/decryption, the actual amount of encrypted/decrypted
    data returned is not the same as the expected amount.
    

Problem conclusion

  • The fix is to process the buffered data even if
    ByteBuffer.remaining is 0 when calling Cipher.doFinal()
    The associated RTC PR is 96113
    The associated Austin CMVC defect is 116806
    The associated Hursley CMVC defect is 202845
    The associated APAR is IV74909
    JVMs affected : Java 5.0, Java 6.0, Java 6.1, Java 7.0, Java 7.1
    and Java 8.0
    The fix was delivered for Java 5.0 SR16 FP14, Java 6.0 SR16
    FP15, Java 6.1 SR8 FP15, Java 7.0 SR9 FP20, Java 7.1 SR3 FP20
    and Java 8.0 SR2
    The affected jar is "ibmjcefw.jar".
    The build level of this jar for the affected releases is
    "20150722"
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV74909

  • Reported component name

    TIV JAVA CRYPTO

  • Reported component ID

    TIVSECJCE

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-07

  • Closed date

    2015-08-04

  • Last modified date

    2015-08-04

  • 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

    TIV JAVA CRYPTO

  • Fixed component ID

    TIVSECJCE

Applicable component levels

  • R100 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCZL42","label":"JCE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 August 2015