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

canonicalizeClusterDN may synthesize an invalid iterator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.6.1, 2.7.1
    • Fix Version/s: 2.7.3
    • Component/s: Security
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

            Assignee:
            andreas.nilsson Andreas Nilsson
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: