[SERVER-62878] Coverity analysis defect 121363: Uninitialized pointer field Created: 21/Jan/22  Updated: 21/Jan/22  Resolved: 21/Jan/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: Kyle Suarez
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-62877 Coverity analysis defect 121363: Unin... Closed
Operating System: ALL
Participants:

 Description   

Uninitialized pointer field

The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor
/src/mongo/db/query/query_planner_params.h:149: UNINIT_CTOR 121363 Class member declaration for "clusteredCollectionCollator".
/src/mongo/db/query/query_planner_params.h:46: UNINIT_CTOR 121363 Non-static class member "clusteredCollectionCollator" is not initialized in this constructor nor in any functions that it calls.


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