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

Incorrect handing of a GWBUF may cause SIGABRT.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.1, 1.3.0
    • 1.3.0
    • readwritesplit
    • None

    Description

      In readwritesplit.c:

      The GWBUF querybuf routeQuery passes to route_single_stmt is made contiguous inside the latter. If that really is made, then the original buffer is freed (inside gwbuf_make_contiguous). When routeQuery calls gwbuf_free there will be a double free.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.