[SERVER-61901] Coverity analysis defect 121224: Uninitialized scalar variable Created: 03/Dec/21  Updated: 29/Oct/23  Resolved: 30/Dec/21

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2021-12-27, Security 2022-01-10
Participants:

 Description   

Uninitialized scalar variable

The variable will contain an arbitrary value left from earlier computations. Use of an uninitialized variable
/src/mongo/db/modules/enterprise/src/kmip/kmip_options.cpp:18: UNINIT 121224 Declaring variable "kmipParams".



 Comments   
Comment by Githook User [ 30/Dec/21 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-61901 Initialize options struct
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/68fa8e45a9228a19c5e22ba06f840787a98e6c80

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