Coverity analysis defect 184158: Dereference of potentially null field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2026-01-19, QE 2025-12-08
    • 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/query/stage_builder/sbe/gen_accumulator.cpp:2083: NULL_FIELD 184158 Reading field "_opInfo", which is expected to possibly be "nullptr" in "this->_opInfo" (checked 8 out of 10 times).

            Assignee:
            Niels Lohmann
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: