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

Hintfilter leaks memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.8
    • Component/s: hintfilter
    • Labels:
      None
    • Sprint:
      MXS-SPRINT-56, MXS-SPRINT-57, MXS-SPRINT-58, MXS-SPRINT-59

      Description

      The HintFilter routeQuery-function does not check if the buffer already has a hint attached, and will overwrite existing hints, even with 0. Thus, the existing hint is never freed. Other hint-generating/attaching code should also be checked.

        Attachments

          Activity

            People

            Assignee:
            nantti Niclas Antti
            Reporter:
            esa.korhonen Esa Korhonen
            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.