Operational Defect Database

BugZero found this defect 2386 days ago.

MongoDB | 416708

[SERVER-30656] Coverity analysis defect 101975: PW.PARAMETER_HIDDEN

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.13

Description:

Info

PW.PARAMETER_HIDDEN Defect 101975 (STATIC_C) Checker PW.PARAMETER_HIDDEN (subcategory none) File: /src/mongo/db/catalog/rename_collection.cpp Parse Warning (no function name available) /src/mongo/db/catalog/rename_collection.cpp, line: 218 declaration hides parameter "options" (declared at line 79) CollectionOptions options = sourceColl->getCatalogEntry()->getCollectionOptions(opCtx);

Top User Comments

benety.goh commented on Fri, 25 Aug 2017 10:05:01 +0000: This defect was introduced in: Message: SERVER-30212 add RenameCollectionOptions Branch: master https://github.com/mongodb/mongo/commit/512fcfe0cd29d029c586589a3f1577a40123dc65 xgen-internal-githook commented on Fri, 25 Aug 2017 10:02:25 +0000: Author: {'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'} Message: SERVER-30656 renamed CollectionOptions local variable masking parameter name Branch: master https://github.com/mongodb/mongo/commit/08cb122cd8b381a3a73e389262380e54ac0d7ef6

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...