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

LDAPArrayIterator behaves incorrectly when initialized with an empty array

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.9, 4.0.4
    • 3.6.10, 4.0.6, 4.1.7
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Security 2018-12-31

    Description

      Currently, the LDAPArrayIterator() of an empty array is not equal to an empty LDAPArrayIterator(). This causes it code that uses it as a begin iterator in iterator traversal to return the wrong results.

      Example:

      char* empty[] = { 0 };
      LDAPArrayIterator(empty) != LDAPArrayIterator()

       

       

       

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: