Coverity analysis defect 175183: Dereference of potentially null field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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/executor/network_interface_tl.cpp:1073: NULL_FIELD 175183 Reading field "_svcCtx", which is expected to possibly be "nullptr" in "this->this->cmdState->interface->_svcCtx" (checked 5 out of 6 times).

            Assignee:
            Joseph Prince
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: