[SERVER-75883] Coverity analysis defect 137567: Macro compares unsigned to 0 Created: 09/Apr/23 Updated: 29/Oct/23 Resolved: 18/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 7.0.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Drew Paroski |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Execution
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v7.0
|
||||
| Sprint: | QE 2023-05-01 | ||||
| Participants: | |||||
| Description |
|
Macro compares unsigned to 0 An unsigned value can never be negative, so this test will always evaluate the same way. An unsigned value can never be less than 0 |
| Comments |
| Comment by Githook User [ 10/May/23 ] |
|
Author: {'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}Message: |
| Comment by Githook User [ 17/Apr/23 ] |
|
Author: {'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}Message: |