[SERVER-57782] Coverity analysis defect 120189: Uninitialized scalar variable Created: 17/Jun/21 Updated: 29/Oct/23 Resolved: 14/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Execution Team 2021-07-12, Execution Team 2021-07-26 |
| Participants: |
| Description |
|
Uninitialized scalar variable The variable will contain an arbitrary value left from earlier computations. Use of an uninitialized variable |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] | ||||
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! | ||||
| Comment by Githook User [ 14/Jul/21 ] | ||||
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: | ||||
| Comment by Kyle Suarez [ 17/Jun/21 ] | ||||
|
I believe it's complaining because the UniqueIndexData default constructor does not initialize the _keyFormat field.
|