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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Spencer Jackson
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: