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

Race condition in binlogrouter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.5.20, 6.3.1
    • 2.5.21, 6.4.0
    • pinloki
    • 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

            markus makela markus makela
            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.