Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33467

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.0
    • 3.6.4, 3.7.4
    • None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Platforms 2018-03-12, Platforms 2018-03-26

    Description

      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.

      Attachments

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: