Operational Defect Database

BugZero found this defect 38 days ago.

MongoDB | 2639775

Coverity analysis defect 149003: Overflowed integer argument

Last update date:

4/11/2024

Affected products:

MongoDB Server

Affected releases:

8.0.0-rc0

Fixed releases:

No fixed releases provided.

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/geo/geoparser.cpp:179: INTEGER_OVERFLOW 149003 The decrement operator on the unsigned variable "i" might result in an underflow. /src/mongo/db/geo/geoparser.cpp:176: INTEGER_OVERFLOW 149003 "i", which might have underflowed, is passed to "(*vertices)[i]". [Note: The source code implementation of the function has been overridden by a builtin model.]

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...