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

Use after free in DocumentSourceLookup::clone

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.3.4, 7.0.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • ALL
    • v7.3, v7.0, v6.0
    • Service Arch 2024-04-01

      In DocumentSourceLookup::clone, which calls the copy constructor, there's a use-after-free bug resulting from not passing an ExpressionContext to clone here.

            Assignee:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Reporter:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: