Coverity analysis defect 134391: Operands don't affect result

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Security
    • ALL
    • Security 2023-02-06, Security 2023-02-20, Security 2023-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 "!".

            Assignee:
            Shreyas Kalyan
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: