[SERVER-57797] Coverity analysis defect 120188: Uninitialized scalar field Created: 17/Jun/21 Updated: 27/Oct/23 Resolved: 29/Aug/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: | Backlog - Query Execution |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | coverity, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Operating System: | ALL |
| 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 |
| Comments |
| Comment by Mihai Andrei [ 24/Jun/21 ] |
|
I think this can be resolved as 'gone away' now that |
| Comment by Ethan Zhang (Inactive) [ 22/Jun/21 ] |
|
https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sbe/stages/ix_scan.h#L119 Also, should it be cloned in clone()? |