Do not free memory returned by ldap_get_option(LDAP_OPT_ERROR_STRING) on Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.4, 3.7.4
    • Affects Version/s: 3.6.0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Platforms 2018-03-12, Platforms 2018-03-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      On Windows, when ldap_get_option is called with LDAP_OPT_ERROR_STRING, the returned value should not be freed.

      With OpenLDAP, the returned value should be freed.

      This was a regression introduced in SERVER-28388.

              Assignee:
              Spencer Jackson
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: