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

Memory Corruption from Incorrect Type for SQL_IDENTIFIER_CASE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.6
    • Fix Version/s: 3.1.7
    • Component/s: General
    • Labels:
      None

      Description

      If you call SQLGetInfo(SQL_IDENTIFIER_CASE) and pass a short (the correct size for SQL_IDENTIFIER_CASE), then the MariaDB 32bit ODBC interface will corrupt memory because it assumes (incorrectly) that SQL_IDENTIFIER_CASE is a long. Note that this is not a problem with the MySQL interface.

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            juan.vera Juan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: