Operational Defect Database

BugZero found this defect 38 days ago.

MongoDB | 2639689

Coverity analysis defect 154426: Overflowed integer argument

Last update date:

4/11/2024

Affected products:

MongoDB Server

Affected releases:

8.0.0-rc0

Fixed releases:

8.0 Required

Description:

Info

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.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...