Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22487

Server prints "Please supply a buffer for error string" instead of actual error string with wolfSSL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4.12, 10.5.2
    • Fix Version/s: 10.4.13, 10.5.3
    • Component/s: SSL
    • Labels:
      None

      Description

      When the server is linked with wolfSSL, it doesn't seem to print all error messages. Sometimes, it just prints "Please supply a buffer for error string". For example:

      2020-05-06 10:23:28 0 [Warning] Failed to setup SSL
      2020-05-06 10:23:28 0 [Warning] SSL error: SSL_CTX_set_default_verify_paths failed
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      2020-05-06 10:23:28 0 [Warning] SSL error: Please supply a buffer for error string
      

      Other wolfSSL users have also reported this problem previously:

      https://www.wolfssl.com/forums/topic599-openssl-compatibility-and-errerrorstring.html

      That post is almost 6 years old now, so hopefully there is actually a solution to this problem in recent versions of wolfSSL.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: