Coverity analysis defect 149655: Dereference before null check

XMLWordPrintableJSON

    • Storage Execution
    • ALL
    • 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:
            3 Start watching this issue

              Created:
              Updated: