Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-258

ERR_error_string could overflow in future

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Core
    • None
    • All

    Description

      ERR_error_string specifies the buffer size needed for the error message that it creates. But this number could change in future, with unpredictable results. The alternative ERR_error_string_n allows the specification of a maximum size (including the terminating null) and truncates the string if necessary. This would be safe even if the default buffer size increased over the current fixed limit.

      Attachments

        Activity

          People

            markus makela markus makela
            martin brampton martin brampton (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.