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

XMLWordPrintableJSON

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

      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 Brock (Inactive)
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: