Race in mongoc_client_kill_cursor

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.8.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: