Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-502

Connector can send to the server chunks of memory adjucent to the query

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.23, 3.2.9
    • 3.1.24, 3.2.10
    • General
    • None

    Description

      This can happen because internal helper function incorrectly detects UTF16 surrogate pairs. That may lead that it incorrectly count query length in bytes and thus uses additionally some rather small(normally) area of the memory past the end of the query as part of the query for conversion into connection charset. This happens if unicode query string contains 0xD8..0xDB value in low byte.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.