Operational Defect Database

BugZero found this defect 26 days ago.

MongoDB | 2651728

Coverity analysis defect 144706: Uninitialized pointer field

Last update date:

4/23/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Uninitialized pointer field The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption. A pointer field is not initialized in the constructor /src/mongo/db/index/s2_access_method.h:113: UNINIT_CTOR 144706 Class member declaration for "_collator". /src/mongo/db/index/s2_access_method.cpp:98: UNINIT_CTOR 144706 Non-static class member "_collator" is not initialized in this constructor nor in any functions that it calls.

Top User Comments

kyle.suarez commented on Tue, 23 Apr 2024 20:22:12 +0000: This should be 8.0 Required unless otherwise determined by the team that it's not a release issue.

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...