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

Express: restoreResources() should handle nullptr collections

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • v8.0
    • 200

      In Express executor, restoreState() calls restoreResources() on the plan, which passes a CollectionPtr (via a RestoreContext) that can be null in cases where the executor is using CollectionAcquisitions. We need to be careful not to dereference this pointer when it is null.

            Assignee:
            colin.stolley@mongodb.com Colin Stolley
            Reporter:
            colin.stolley@mongodb.com Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: