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

Coverity analysis defect 152388: Dereference after null check

    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0

      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/scripting/mozjs/engine.cpp:106: FORWARD_NULL 152388 Comparing "opCtx" to null implies that "opCtx" might be null.

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: