Operational Defect Database

BugZero found this defect 2389 days ago.

MongoDB | 414215

[SERVER-30571] EphemeralForTest oplogStartHack segfaults if startingPosition is behind oplog

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.12

Description:

Info

Records::const_iterator it = records.lower_bound(startingPosition); if (it == records.end() || it->first > startingPosition) --it;   return it->first; This loop should first check that it != records.begin(). Otherwise --it will fall off the front of the map.

Top User Comments

xgen-internal-githook commented on Wed, 9 Aug 2017 19:10:42 +0000: Author: {'username': 'judahschvimer', 'email': 'judah@mongodb.com', 'name': 'Judah Schvimer'} Message: SERVER-30571 EphemeralForTest oplogStartHack works if startingPosition is behind oplog Branch: master https://github.com/mongodb/mongo/commit/23bd7f71c3b9d7f29db1955cdb884002fe96b7ee

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:

...