[SERVER-66334] Coverity analysis defect 122186: Uninitialized scalar field Created: 10/May/22 Updated: 29/Oct/23 Resolved: 24/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Sara Golemon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Security 2022-05-30 | ||||||||
| 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 Githook User [ 24/May/22 ] |
|
Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}Message: |
| Comment by Kyle Suarez [ 16/May/22 ] |
|
Great, thanks for checking andrew.morrow@mongodb.com. Security Team, if you think this should be suppressed in Coverity, I can mark it as "Intentional" to dismiss it. |
| Comment by Kyle Suarez [ 10/May/22 ] |
|
The comment suggests this variable is initialized at startup somehow but I couldn't tell quite how that happened on glancing at the code. |