-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
ALL
-
QO 2022-07-11
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.
- related to
-
SERVER-62206 Remove DBClientBase::query_DEPRECATED() and migrate remaining callers
- Closed