-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Query Execution
-
Query Execution
-
ALL
-
QE 2025-09-15
-
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/scan.cpp:378: NULL_FIELD 175263 Reading field "_maxRecordIdAccessor", which is expected to possibly be "nullptr" in "this->_maxRecordIdAccessor" (checked 4 out of 5 times).
/src/mongo/db/exec/sbe/stages/scan.cpp:378: NULL_FIELD 175263 Passing null pointer "this->_maxRecordIdAccessor" to "getViewOfValue", which dereferences it. (The dereference happens because this is a virtual function call.)