[SERVER-26587] Incompatible iterator types used with BSON-keyed associative types Created: 11/Oct/16  Updated: 19/Nov/16  Resolved: 13/Oct/16

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Compile with --dbg=on --use-glibcxx-debug.

Sprint: Platforms 2016-10-31
Participants:

 Description   

In some places, an iterator into object of type BSONComparatorInterfaceBase<T>::Map or Set is assigned to an std::set<BSONObj>::iterator, which is undefined behavior.



 Comments   
Comment by Githook User [ 13/Oct/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-26587 Use correct iterator types for BSON keyed associative types
Branch: master
https://github.com/mongodb/mongo/commit/8794dd4bdcab131a4ecf0963505e7fb2a34bf5e6

Generated at Thu Feb 08 04:12:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.