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

Use 64-bit aligned addresses for CK_ULONG access in PKCS11 native key code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 17
    • security-libs

      The current JDK PKCS11 code creates native keys by iterating over PKCS11 attributes and allocating memory to represent data where necessary. These allocations are not always 64-bit aligned and that can be a performance hit for some architectures when accessing certain data types. On Solaris SPARC, it can cause SIGBUS - seen in JDK 11u testing.

            valeriep Valerie Peng
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: