Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3757

mongoc_client_pool_new does not initialize its condition variable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.18.0, 1.17.3, 1.18.0-alpha
    • libmongoc
    • None

    Description

      The condition variable in mongoc_client_pool_t does not get initialized, which results in undefined behavior. As a consequence, it is possible that a call to mongoc_client_pool_pop when all clients have already been distributed may never return, even when a client becomes available.

      Attachments

        Activity

          People

            andrew.witten@mongodb.com Andrew Witten
            andrew.witten@mongodb.com Andrew Witten
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: