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

canonicalizeClusterDN may synthesize an invalid iterator

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.3
    • Affects Version/s: 2.6.1, 2.7.1
    • Component/s: 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.

      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.

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

              Created:
              Updated:
              Resolved: