[SERVER-77093] Coverity analysis defect 138074: Uninitialized scalar field Created: 12/May/23  Updated: 27/Oct/23  Resolved: 12/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Eric Milkie
Resolution: Works as Designed Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 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/record_id.h:519: UNINIT_CTOR 138074 Class member declaration for "_data".
/src/mongo/db/repl/oplog.h:67: UNINIT_CTOR 138074 Non-static class member "recordId._data" is not initialized in this constructor nor in any functions that it calls.


Generated at Thu Feb 08 06:34:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.