Operational Defect Database

BugZero found this defect 38 days ago.

MongoDB | 2639788

Coverity analysis defect 148817: String not null terminated

Last update date:

4/11/2024

Affected products:

MongoDB Server

Affected releases:

8.0.0-rc0

Fixed releases:

No fixed releases provided.

Description:

Info

String not null terminated The function may iterate past the end of the buffer looking for a null terminator. A character buffer that has not been null terminated is passed to a function expecting a null terminated string /src/mongo/scripting/engine.cpp:233: STRING_NULL 148817 Passing unterminated string "data.get()" to "strchr", which expects a null-terminated string.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...