Operational Defect Database

BugZero found this defect 26 days ago.

MongoDB | 2651671

Coverity analysis defect 147407: Structurally dead code

Last update date:

4/23/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Structurally dead code Actions intended to be performed by the unreachable code will never occur. Code block is unreachable because of the syntactic structure of the code /src/mongo/db/query/cqf_fast_paths.cpp:655: UNREACHABLE 147407 Since the loop increment "++;" is unreachable, the loop body will never execute more than once.

Top User Comments

kyle.suarez commented on Tue, 23 Apr 2024 19:49:59 +0000: Not required for 8.0 as this is not in production, but does look very weird. Reviewed with jacob.evans@mongodb.com

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...