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

Operations with Dynamic Lists are not thread-safe, and need to be guarded with mutexes

    Details

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

      Description

      To implement functionality required by ODBC specs, handles have lists of other handles. For example, (explicit) descriptors have list of statement handles they are used in. That is needed to reset appropriate descriptors in those statements to use default implicit descriptors. And also to remove references to statements when statement handles is free-ed. Also db handle has lists of allocated statements and descriptors. Operations with those lists may cause threaded applications to crash, if not guarded

        Attachments

          Activity

            People

            • Assignee:
              Lawrin Lawrin Novitsky
              Reporter:
              Lawrin Lawrin Novitsky
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: