Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72968

Coverity analysis defect 134391: Operands don't affect result

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

      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@mongodb.com Shreyas Kalyan
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: