[SERVER-59466] Coverity analysis defect 120435: Uninitialized scalar field Created: 20/Aug/21  Updated: 20/Sep/21  Resolved: 20/Sep/21

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: Ted Tuckman
Resolution: Duplicate Votes: 0
Labels: coverity, greenerbuild, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-59465 Coverity analysis defect 120434: Unus... Closed
Operating System: ALL
Sprint: QO 2021-10-04
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/pipeline/document_source_densify.h:326: UNINIT_CTOR 120435 Class member declaration for "_densifyType".
/src/mongo/db/pipeline/document_source_densify.h:158: UNINIT_CTOR 120435 Non-static class member "_densifyType" is not initialized in this constructor nor in any functions that it calls.


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