[SERVER-63412] Coverity analysis defect 121476: Uninitialized scalar field Created: 08/Feb/22  Updated: 11/Feb/22  Resolved: 11/Feb/22

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: Svilen Mihaylov (Inactive)
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-02-10 at 4.16.13 PM.png    
Issue Links:
Duplicate
is duplicated by SERVER-63583 Address coverity issues in the new op... Closed
Operating System: ALL
Sprint: QO 2022-02-21
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/query/optimizer/explain.cpp:500: UNINIT_CTOR 121476 Class member declaration for "_canAppend".
/src/mongo/db/query/optimizer/explain.cpp:325: UNINIT_CTOR 121476 Non-static class member "_canAppend" is not initialized in this constructor nor in any functions that it calls.


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