[SERVER-65411] Coverity analysis defect 122059: Uninitialized scalar field Created: 09/Apr/22  Updated: 15/Apr/22  Resolved: 15/Apr/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: Hana Pearlman
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-65410 Coverity analysis defect 122052: Unin... Closed
Operating System: ALL
Sprint: QO 2022-05-02
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/query/fle/server_rewrite.h:210: UNINIT_CTOR 122059 Class member declaration for "_rewroteLastExpression".
/src/mongo/db/query/fle/server_rewrite.h:130: UNINIT_CTOR 122059 Non-static class member "_rewroteLastExpression" is not initialized in this constructor nor in any functions that it calls.



 Comments   
Comment by Hana Pearlman [ 15/Apr/22 ]

Same root cause as SERVER-65410

Generated at Thu Feb 08 06:02:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.