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

canonicalizeClusterDN may synthesize an invalid iterator

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.7.3
    • 2.6.1, 2.7.1
    • Security
    • Fully Compatible
    • ALL
    • Hide

      buildscripts/smoke.py jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js

      where mongod has been built with --ssl --dbg=on on a linux machine that offers a new enough libstdc++ that _GLIBCXX_DEBUG is used.

      Show
      buildscripts/smoke.py jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js where mongod has been built with --ssl --dbg=on on a linux machine that offers a new enough libstdc++ that _GLIBCXX_DEBUG is used.

    Description

      The loop may decrement the iterator returned by std::vector::begin(). It does not dereference the iterator, but it is still illegal to form such an iterator. This causes debugging implementations of the std library to trip. We want to be able to use those, so we should not form the bad iterator.

      Attachments

        Activity

          People

            andreas.nilsson Andreas Nilsson
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: