-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
ALL
-
Dev Platform 2021-09-20
The _buffer field in RecordId is (apparently intentionally) uninitialized. That isn't a problem in itself, but the current implementation relies on compiler generated copy operations which can access this field. Either the field needs to be initialized with zero bytes, or explicit lifecycle methods need to be implemented which honor the type tag and avoid reading from the uninitialized region of the _buffer field.
- is duplicated by
-
SERVER-59899 Coverity analysis defect 120719: Uninitialized scalar variable
- Closed
-
SERVER-59900 Coverity analysis defect 120713: Uninitialized scalar variable
- Closed
-
SERVER-59901 Coverity analysis defect 120726: Uninitialized scalar variable
- Closed
-
SERVER-59902 Coverity analysis defect 120729: Uninitialized scalar variable
- Closed