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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4.12, 10.5.2
    • 10.4.13, 10.5.3
    • SSL
    • 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

              wlad Vladislav Vaintroub
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.75h
                  0.75h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.