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

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

            GeoffMontee Geoff Montee (Inactive) created issue -
            GeoffMontee Geoff Montee (Inactive) made changes -
            Field Original Value New Value
            GeoffMontee Geoff Montee (Inactive) made changes -
            Priority Blocker [ 1 ] Major [ 3 ]
            wlad Vladislav Vaintroub made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            wlad Vladislav Vaintroub made changes -
            Fix Version/s 10.4.13 [ 24223 ]
            Fix Version/s 10.5.3 [ 24263 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Confirmed [ 10101 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 108303 ] MariaDB v4 [ 157731 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 127024

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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