Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
Fully Compatible
-
QE 2022-10-17, QE 2022-10-31, QE 2022-11-14
Description
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:360: FORWARD_NULL 122782 Calling "this->_recordStore.operator bool()" implies that "this->_recordStore" might be null-like.
/src/mongo/db/exec/sbe/stages/hash_agg.cpp:391: FORWARD_NULL 122782 Attempting to access the managed object of an empty smart pointer "this->_recordStore".