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

Memory leak when closing SSL connection

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.5.29, 6.4.13
    • 2.5.30, 6.4.14
    • Core
    • None

    Description

      The function int DCB::read_SSL(GWBUF** head) can return an error (-1) even if data was added to head. Callers ignore the data if detecting the error, leaking the GWBUF . This mainly happens when closing an SSL connection.

      Fix this by freeing the data in DCB::read.

      Attachments

        Activity

          People

            esa.korhonen Esa Korhonen
            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.