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)

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: