Coverity analysis defect 174988: Dereference of potentially null field

XMLWordPrintableJSON

    • Networking & Observability
    • ALL
    • N&O 2025-09-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dereference of potentially null field

      If the field is actually null, then a null pointer dereference will occur. Field, which is statistically checked against null, is dereferenced.
      /src/mongo/client/connpool.cpp:760: NULL_FIELD 174988 Reading field "_conn", which is expected to possibly be "nullptr" in "this->_conn" (checked 7 out of 8 times).

            Assignee:
            Sergei Bazhenov
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: