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

Coverity analysis defect 99991: Explicit null dereferenced

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Dereference of an explicit null value

      Defect 99991 (STATIC_C)
      Checker FORWARD_NULL (subcategory deref_constant_null)
      File: /src/mongoc/mongoc-topology-description.c
      Function mongoc_topology_description_handle_ismaster
      /src/mongoc/mongoc-topology-description.c, line: 1638
      Assigning: "prev_sd" = "NULL".

             mongoc_server_description_t *prev_sd = NULL;
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: