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

IDL parser should create owned copy of BSONObj subobjects

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: IDL
    • Service Arch
    • ALL

      In IDL with a field of type object, when parsing that field, the 'BSONElement::Obj()' function is used, but this only saves a non-owned reference. This should instead call '.getOwned()'on the result of 'Obj()'.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: