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

Race condition in binlogrouter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.20, 6.3.1
    • Fix Version/s: 2.5.21, 6.4.0
    • Component/s: pinloki
    • Labels:
      None

      Description

      There is a possibility of a use-after-free if the replication client closes the connection while the binlogrouter is sending large amounts of events to it.

      This happens because of the code returns once a millisecond into the worker main loop to prevent thread monopolization but it does this without checking whether the session is still alive after it returns.

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            markus makela markus makela
            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.