Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
Query 2020-08-24
Description
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/multi_iterator.h:82: UNINIT_CTOR 116138 Class member declaration for "_opCtx".
/src/mongo/db/exec/multi_iterator.cpp:49: UNINIT_CTOR 116138 Non-static class member "_opCtx" is not initialized in this constructor nor in any functions that it calls.