[SERVER-56609] Coverity analysis defect 119305: Uninitialized scalar field Created: 04/May/21  Updated: 15/Jun/21  Resolved: 15/Jun/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: Alison Lu (Inactive)
Resolution: Duplicate Votes: 0
Labels: EFT, coverity, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-49796 Coverity analysis defect 115964: Unin... Closed
Operating System: ALL
Sprint: Execution Team 2021-06-28
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/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp:849: UNINIT_CTOR 119305 Class member declaration for "_reversePos".
/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_sorted_impl.cpp:810: UNINIT_CTOR 119305 Non-static class member "_reversePos" is not initialized in this constructor nor in any functions that it calls.


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