Coverity analysis defect 133854: Dereference after null check

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Execution Team 2022-11-28
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dereference after null check

      Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
      /src/mongo/db/concurrency/lock_state.cpp:830: FORWARD_NULL 133854 Comparing "opCtx" to null implies that "opCtx" might be null.

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

              Created:
              Updated:
              Resolved: