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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.4, 3.7.4
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Platforms 2018-03-12, Platforms 2018-03-26
    • Case:

      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

            Assignee:
            spencer.jackson Spencer Jackson
            Reporter:
            mark.benvenuto Mark Benvenuto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: