Operational Defect Database

BugZero found this defect 26 days ago.

MongoDB | 2651740

Coverity analysis defect 144996: Uninitialized pointer field

Last update date:

4/23/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0 Required

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/exec/express/express_plan.h:359: UNINIT_CTOR 144996 Class member declaration for "_collection". /src/mongo/db/exec/express/express_plan.h:252: UNINIT_CTOR 144996 Non-static class member "_collection" is not initialized in this constructor nor in any functions that it calls. /src/mongo/db/exec/express/express_plan.h:360: UNINIT_CTOR 144996 Class member declaration for "_indexCatalogEntry". /src/mongo/db/exec/express/express_plan.h:252: UNINIT_CTOR 144996 Non-static class member "_indexCatalogEntry" is not initialized in this constructor nor in any functions that it calls. /src/mongo/db/exec/express/express_plan.h:366: UNINIT_CTOR 144996 Class member declaration for "_stats". /src/mongo/db/exec/express/express_plan.h:252: UNINIT_CTOR 144996 Non-static class member "_stats" is not initialized in this constructor nor in any functions that it calls.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Open

Learn More

Search:

...