Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
QO 2022-07-11
Description
Uninitialized scalar field
The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
/src/mongo/db/cloner.cpp:226: UNINIT_CTOR 122382 Class member declaration for "numSeen".
/src/mongo/db/cloner.cpp:95: UNINIT_CTOR 122382 Non-static class member "numSeen" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/db/cloner.cpp:230: UNINIT_CTOR 122382 Class member declaration for "saveLast".
/src/mongo/db/cloner.cpp:95: UNINIT_CTOR 122382 Non-static class member "saveLast" is not initialized in this constructor nor in any functions that it calls.
Attachments
Issue Links
- related to
-
SERVER-62206 Remove DBClientBase::query_DEPRECATED() and migrate remaining callers
-
- Closed
-