-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
QE 2022-10-17, QE 2022-10-31, QE 2022-11-14
-
None
-
0
-
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: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".