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

Coverity analysis defect 103440: LOCK

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

      LOCK

      Defect 103440 (STATIC_C)
      Checker LOCK (subcategory double_unlock)
      File: /data/mongo-c-driver/src/mongoc/mongoc-topology.c
      Function mongoc_topology_select_server_id
      /data/mongo-c-driver/src/mongoc/mongoc-topology.c, line: 693
      "_mongoc_topology_do_blocking_scan" unlocks "topology->mutex" while it is unlocked.

                      _mongoc_topology_do_blocking_scan (topology, &scanner_error);
      

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: