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

Make PooledLDAPConnection::refresh take self-ownership

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.5.1, 4.0.19, 4.2.8, 4.4.0
    • 4.7.0, 4.2.10, 4.4.2, 4.0.21
    • Security
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0
    • Security 2020-09-07

    Description

      PooledLDAPConnection::refresh schedules a job which validates the wrapped LDAP connection. Under some circumstances, it appears that the pool is able to reap the connection while this job is outstanding, causing a segmentation fault. We should ensure that the connection takes ownership of itself for the duration of the refresh job, just as the TLConnection::refresh method does.

      Attachments

        Activity

          People

            shreyas.kalyan@mongodb.com Shreyas Kalyan
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: