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

Do not call C_Sign() with a NULL buffer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 6
    • security-libs
    • None

      The SunPKCS11 provider currently calls C_Sign() with a NULL buffer in order to determine the buffer size. This causes interoperability with a few buggy tokens. As a workaround, we should use a stack buffer, as we already do in a few other functions.

            valeriep Valerie Peng
            andreas Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: