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

Memory leak in PKCS11 provider when using AES GCM

XMLWordPrintable

    • 13
    • b10
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: