[SERVER-72968] Coverity analysis defect 134391: Operands don't affect result Created: 17/Jan/23  Updated: 01/Mar/23  Resolved: 01/Mar/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:
Duplicate
duplicates SERVER-72966 Coverity analysis defect 134393: Oper... Closed
Assigned Teams:
Server Security
Operating System: ALL
Sprint: Security 2023-02-06, Security 2023-02-20, Security 2023-03-06
Participants:

 Description   

Operands don't affect result

The expression's value does not depend on the operands; often, this represents an inadvertent logic error. An operation with non-constant operands that computes a result with constant value
/src/third_party/libmongocrypt/dist/src/mongocrypt-ctx.c:810: CONSTANT_EXPRESSION_RESULT 134391 "region_len <= 2147483647" is always true regardless of the values of its operands. This occurs as the logical operand of "!".


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