[SERVER-50875] Coverity analysis defect 115634: Uninitialized scalar field Created: 11/Sep/20  Updated: 29/Oct/23  Resolved: 24/Sep/20

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

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2020-10-05
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/modules/enterprise/src/sasl/sasl_aws_server_conversation.h:41: UNINIT_CTOR 115634 Class member declaration for "_cbFlag".
/src/mongo/db/modules/enterprise/src/sasl/sasl_aws_server_conversation.h:15: UNINIT_CTOR 115634 Non-static class member "_cbFlag" is not initialized in this constructor nor in any functions that it calls.



 Comments   
Comment by Githook User [ 24/Sep/20 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-50875 Coverity analysis defect 115634: Uninitialized scalar field
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/ca450f2e713bb9d66ae8c6ac449f2a40c6b5c01c

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