Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-138

leak in mysql_ssl_set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 3.0.0, 2.2.0
    • Fix Version/s: 3.0.0, 2.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      all

      Description

      When mysql_ssl_set will be called twice, memory from first call will not be freed.

      How to repeat:

      mysql_ssl_set(mysql, "my_key.pem", "my_cert.pem", "my_ca.pem", NULL, NULL);
      mysql_ssl_set(mysql, "my_key.pem", "my_cert.pem", "my_ca.pem", NULL, NULL);

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: