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

Memory leak in PKCS11 provider when using AES GCM

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      13
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        When using AES GCM encryption/decryption impl from SunPKCS11 provider, its native parameter structure contains Iv and AAD byte arrays which should be explicitly freed after use. Current impl only frees the mechanism structure and its generic parameter pointer. It should also free the algorithm specific pointers, i.e. iv and aad, inside the memory pointed to by the parameter pointer.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                valeriep Valerie Peng
                Reporter:
                valeriep Valerie Peng
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: