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

Coverity analysis defect 116702: Dereference before null check

    • Fully Compatible
    • ALL
    • Service arch 2020-12-14

      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/curop.cpp:1088: REVERSE_INULL 116702 Null-checking "client" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: