-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Query Execution
-
Fully Compatible
-
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:359: UNINIT_CTOR 144996 Class member declaration for "_collection".
/src/mongo/db/exec/express/express_plan.h:252: UNINIT_CTOR 144996 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:360: UNINIT_CTOR 144996 Class member declaration for "_indexCatalogEntry".
/src/mongo/db/exec/express/express_plan.h:252: UNINIT_CTOR 144996 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:366: UNINIT_CTOR 144996 Class member declaration for "_stats".
/src/mongo/db/exec/express/express_plan.h:252: UNINIT_CTOR 144996 Non-static class member "_stats" is not initialized in this constructor nor in any functions that it calls.
- is duplicated by
-
SERVER-89745 Coverity analysis defect 147226: Uninitialized pointer field
-
- Closed
-