[SERVER-55518] Coverity analysis defect 117936: Uninitialized pointer field Created: 25/Mar/21  Updated: 29/Oct/23  Resolved: 02/Apr/21

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Dan Larkin-York
Resolution: Fixed Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-55529 BucketCatalog idle list mutex not hel... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-04-19
Participants:

 Description   

Uninitialized pointer field

The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
/src/mongo/db/timeseries/bucket_catalog.h:520: UNINIT_CTOR 117936 Class member declaration for "_bucket".
/src/mongo/db/timeseries/bucket_catalog.cpp:629: UNINIT_CTOR 117936 Non-static class member "_bucket" is not initialized in this constructor nor in any functions that it calls.


Generated at Thu Feb 08 05:36:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.