[SERVER-61272] Coverity analysis defect 121076: Uninitialized scalar field Created: 05/Nov/21 Updated: 29/Oct/23 Resolved: 10/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Suganthi Mani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Server Serverless 2021-11-15 | ||||||||
| 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 Suganthi Mani [ 10/Nov/21 ] |
|
Addressed the issue in this commit. |
| Comment by Eric Milkie [ 08/Nov/21 ] |
|
Also the "L" in "least" should be capitalized in that identifier name. |
| Comment by A. Jesse Jiryu Davis [ 08/Nov/21 ] |
|
suganthi.mani looks like this was introduced in your commit bbc96fbba2deaac539165bcd86bbdaf6037f41dd, which has been reverted. Let's fix this before committing that patch again. |