Coverity analysis defect 145423: Dereference after null check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dereference after null check

      Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
      /data/mci/1dff9350a699823f2c6a1ea604b63e21/bazel_cache/1bfb1de0f8b7077798689330e11a2766/execroot/_main/src/mongo/db/pipeline/search/document_source_internal_search_mongot_remote.cpp:367: FORWARD_NULL 145423 Calling "this->_cursor.operator bool()" implies that "this->_cursor" might be null-like.

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

                Created:
                Updated: