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

Incorrect use of snprintf

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • schemarouter
    • None
    • All

    Description

      Line 1704 of shardrouter.c is liable to have unpredictable and probably fatal consequences:

      snprintf(errbuf,"Unknown database: %s",db);

      since the second parameter should be the number of characters to be used.

      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.