-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
ALL
-
Execution Team 2021-11-01
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/bson/util/simple8b.h:349: UNINIT_CTOR 121061 Class member declaration for "_current".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_current" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:354: UNINIT_CTOR 121061 Class member declaration for "_mask".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_mask" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:364: UNINIT_CTOR 121061 Class member declaration for "_bitsPerValue".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_bitsPerValue" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:368: UNINIT_CTOR 121061 Class member declaration for "_countMask".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_countMask" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:371: UNINIT_CTOR 121061 Class member declaration for "_countBits".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_countBits" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:374: UNINIT_CTOR 121061 Class member declaration for "_countMultiplier".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_countMultiplier" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:377: UNINIT_CTOR 121061 Class member declaration for "_selector".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_selector" is not initialized in this constructor nor in any functions that it calls.
/src/mongo/bson/util/simple8b.h:380: UNINIT_CTOR 121061 Class member declaration for "_extensionType".
/src/mongo/bson/util/simple8b.cpp:734: UNINIT_CTOR 121061 Non-static class member "_extensionType" is not initialized in this constructor nor in any functions that it calls.