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

Race in mongoc_client_kill_cursor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.8.0
    • None
    • libmongoc
    • None

    Description

      mongoc_client_kill_cursor gets a server description from the topology, then continues to access the server description after it has unlocked the topology. In pooled mode, the server description could be freed by a topology change while mongoc_client_kill_cursor holds a reference to it.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: