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

The GSSContext.verifyMIC() will throw ArrayIndexOutOfBoundsException if all permissions granted

    Details

      Description

      The test case
      api/org_ietf/jgss/GSSContext/index.html#getMICIOTest[getMICIOTest_1]
      failed on Ubuntu x86 since JDK b102 with the message:

      Status return from the server thread: Passed. Server thread completed successfully.
      Status return from the client thread: Failed. java.lang.ArrayIndexOutOfBoundsException

      The stack trace of the Exception:
      java.lang.ArrayIndexOutOfBoundsException
              at java.lang.System.arraycopy(Native Method)
              at sun.security.jgss.krb5.MessageToken_v2.<init>(MessageToken_v2.java:194)
              at sun.security.jgss.krb5.MicToken_v2.<init>(MicToken_v2.java:57)
              at sun.security.jgss.krb5.Krb5Context.verifyMIC(Krb5Context.java:1191)
              at sun.security.jgss.krb5.Krb5Context.verifyMIC(Krb5Context.java:1209)
              at sun.security.jgss.GSSContextImpl.verifyMIC(GSSContextImpl.java:450)
              at javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.getMICIOClient$Action.run(getMICIO.java:515)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAsPrivileged(Subject.java:473)
              at javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.getMICIOClient.thisRun(getMICIO.java:400)
              at javasoft.sqe.tests.api.org.ietf.jgss.GSSContext.getMICIOClient.run(getMICIO.java:358)

      This is regression since JDK 7 b102. Ubuntu specific.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                weijun Weijun Wang
                Reporter:
                afomin Alexander Fomin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: