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

Coverity analysis defect 120053: Dereference after null check

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL

    Description

      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/op_observer_impl.cpp:749: FORWARD_NULL 120053 Comparing "args.deletedDoc" to null implies that "args.deletedDoc" might be null.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: