[SERVER-50238] Coverity analysis defect 115402: Uninitialized scalar variable Created: 10/Aug/20  Updated: 29/Oct/23  Resolved: 03/Nov/20

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

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

Issue Links:
Related
related to SERVER-54567 uninitialized WiredTigerRecordStore::... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-11-16
Participants:

 Description   

Uninitialized scalar variable

The variable will contain an arbitrary value left from earlier computations. Use of an uninitialized variable
/src/mongo/db/storage/wiredtiger/wiredtiger_standard_record_store_test.cpp:252: UNINIT 115402 Declaring variable "params".



 Comments   
Comment by Githook User [ 02/Nov/20 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-50238 Initialize isReadOnly in WiredTigerRecordStore::Params for unit tests
Branch: master
https://github.com/mongodb/mongo/commit/dbd149f6c61abb501bac289fd4e6136aa9bbfc36

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