-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Query Execution
-
ALL
-
v8.0
Uninitialized pointer field
The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
/src/mongo/db/exec/express/express_plan.h:169: UNINIT_CTOR 147226 Class member declaration for "_collection".
/src/mongo/db/exec/express/express_plan.h:100: UNINIT_CTOR 147226 Non-static class member "_collection" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/db/exec/express/express_plan.h:170: UNINIT_CTOR 147226 Class member declaration for "_indexCatalogEntry".
/src/mongo/db/exec/express/express_plan.h:100: UNINIT_CTOR 147226 Non-static class member "_indexCatalogEntry" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/db/exec/express/express_plan.h:174: UNINIT_CTOR 147226 Class member declaration for "_stats".
/src/mongo/db/exec/express/express_plan.h:100: UNINIT_CTOR 147226 Non-static class member "_stats" is not initialized in this constructor nor in any functions that it calls.
- duplicates
-
SERVER-89750 Coverity analysis defect 144996: Uninitialized pointer field
- Closed