[SERVER-72965] Coverity analysis defect 134234: Unsigned compared against 0 Created: 17/Jan/23  Updated: 01/Feb/23  Resolved: 01/Feb/23

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: Shreyas Kalyan
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-71325 Update libmongocrypt with changes fro... Closed
Assigned Teams:
Server Security
Operating System: ALL
Sprint: Security 2023-02-06
Participants:

 Description   

Unsigned compared against 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
/src/third_party/libmongocrypt/dist/src/mc-range-encoding.c:233: NO_EFFECT 134234 This less-than-zero comparison of an unsigned value is never true. "args.precision.value < 0U".


Generated at Thu Feb 08 06:23:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.