Coverity analysis defect 154426: Overflowed integer argument

XMLWordPrintableJSON

    • Query Execution
    • ALL
    • v8.0
    • QE 2024-04-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Overflowed integer argument

      The argument will be too small or even negative, likely resulting in unexpected behavior (for example, under-allocation in a memory allocation function). An integer overflow occurs, with the overflowed value used as an argument to a function
      /src/mongo/db/pipeline/document_source_change_stream_unwind_transaction.cpp:460: INTEGER_OVERFLOW 154426 Called function "this->txnOpIndex()", and a possible return value is known to be less than zero.
      /src/mongo/db/pipeline/document_source_change_stream_unwind_transaction.cpp:460: INTEGER_OVERFLOW 154426 The cast of "this->txnOpIndex()" to a signed type could result in a negative number.

              Assignee:
              Mindaugas Malinauskas
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: