-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 7.0.17
-
Component/s: Query Execution
-
Query Execution
-
Fully Compatible
-
ALL
-
v8.1, v8.0
-
QE 2025-03-31
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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/exec/sbe/stages/hash_agg.cpp:127: FORWARD_NULL 169954 Calling "this->_recordStore.operator bool()" implies that "this->_recordStore" might be null-like.
/src/mongo/db/exec/sbe/stages/hash_agg.cpp:132: FORWARD_NULL 169954 Attempting to access the managed object of an empty smart pointer "this->_recordStore".