Coverity analysis defect 173263: Dereference before null check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.0.13
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0
    • None
    • 3
    • 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
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main/src/mongo/db/op_debug.cpp:177: REVERSE_INULL 173263 Null-checking "client" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

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

                Created:
                Updated:
                Resolved: