Coverity analysis defect 149655: Dereference before null check

    • Catalog and Routing
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dereference before null check

      There may be a null pointer dereference, or else the comparison against null is unnecessary. All paths that lead to this null pointer comparison already dereference the pointer earlier
      /src/mongo/db/catalog/index_consistency.cpp:757: REVERSE_INULL 149655 Dereferencing pointer "results". [Note: The source code implementation of the function has been overridden by a builtin model.]
      /src/mongo/db/catalog/index_consistency.cpp:855: REVERSE_INULL 149655 Null-checking "results" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

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

                Created:
                Updated: