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

Audit all classes and check whether it needs to be non-copyable (or implement a correct copy-constructor or use shared_ptr)

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Internal Client
    • Labels:

      For example, BSONIteratorSorted and ScopedDbConnection maintains the life cycle of the internal pointers it has and the default and naive copy constructor can result to a double free.

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: