Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103326

Coverity analysis defect 173263: Dereference before null check

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • 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
      /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@mongodb.com Will Buerger
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None