Do not call C_Sign() with a NULL buffer

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 6
    • Component/s: 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.

            Assignee:
            Valerie Peng
            Reporter:
            Andreas Sterbenz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: