Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042081

AIOB exception while testing PBEWithHmacSHA512 and AES 128 algorithm

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      This test only failed on one Solaris 10 sparcv9 machine, other platform and other sparcv9 machines can't reproduce this issue,
      Maybe this is specific machine issue, but at lease JDK code should check input and should not throw ArrayIndexOutOfBoundsException.

      Please help to check how to fix this issue if it is specific machine issue.

      Error log are following:
      [2014-03-23T16:58:41.97] Unexpected exception with PBEWithHmacSHA512AndAES_128 algorithm: null
      [2014-03-23T16:58:41.97] java.lang.ArrayIndexOutOfBoundsException
      [2014-03-23T16:58:41.97] at com.sun.crypto.provider.CipherCore.update(CipherCore.java:782)
      [2014-03-23T16:58:41.97] at com.sun.crypto.provider.CipherCore.update(CipherCore.java:661)
      [2014-03-23T16:58:41.97] at com.sun.crypto.provider.PBES2Core.engineUpdate(PBES2Core.java:306)
      [2014-03-23T16:58:41.97] at javax.crypto.Cipher.update(Cipher.java:1788)
      [2014-03-23T16:58:41.97] at javax.crypto.CipherOutputStream.write(CipherOutputStream.java:121)
      [2014-03-23T16:58:41.97] at CICO_PBE_RW_Test.proceedRWTestUsingIntBufferingType(CICO_PBE_RW_Test.java:121)
      [2014-03-23T16:58:41.97] at CICO_PBE_RW_Test.proceedTest(CICO_PBE_RW_Test.java:73)
      [2014-03-23T16:58:41.97] at CICO_PBE_Test.doTest(CICO_PBE_Test.java:120)
      [2014-03-23T16:58:41.97] The test failed with 'PBEWithHmacSHA512AndAES_128' algorithm using intByteBuffering.
      [2014-03-23T16:58:41.97] at TestCICOPBEFunc.doCICOTest(TestCICOPBEFunc.java:134)
      [2014-03-23T16:58:41.97] at TestCICOPBEFunc.runTests(TestCICOPBEFunc.java:107)
      [2014-03-23T16:58:41.97] at TestCICOPBEFunc.main(TestCICOPBEFunc.java:77)
      [2014-03-23T16:58:41.97] # Test level exit status: 1
      # Host info: SunOS Generic_148888-02 sun4v sparc sun4v

        Attachments

          Activity

            People

            • Assignee:
              rhalade Rajan Halade
              Reporter:
              zailiu Kevin Liu (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: