Coverity analysis defect 175010: Dereference of potentially null field

    • Query Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dereference of potentially null field

      If the field is actually null, then a null pointer dereference will occur. Field, which is statistically checked against null, is dereferenced.
      /src/mongo/db/exec/sbe/stages/limit_skip.cpp:144: NULL_FIELD 175010 Reading field "_limitExpr", which is expected to possibly be "nullptr" in "this->_limitExpr" (checked 5 out of 6 times).
      /src/mongo/db/exec/sbe/stages/limit_skip.cpp:144: NULL_FIELD 175010 Attempting to access the managed object of an empty smart pointer "this->_limitExpr".

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

              Created:
              Updated: