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

Memory leak of buffer in connection router readQuery

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: readconnroute
    • Labels:
      None
    • Environment:
      All

      Description

      In certain circumstances relating to the backend server being unavailable, a good return is made without processing the buffer. However, the buffer is not freed. The caller cannot know to do anything - it appears that readQuery functions are always expected to dispose of the passed buffer. It may be sufficient to simply free the buffer.

        Attachments

          Activity

            People

            Assignee:
            martin brampton martin brampton (Inactive)
            Reporter:
            martin brampton martin brampton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: