Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26587

Incompatible iterator types used with BSON-keyed associative types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0-rc1
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

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

      Show
      Compile with --dbg=on --use-glibcxx-debug.
    • Sprint:
      Platforms 2016-10-31

      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.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: