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

ExpressionDate*::evaluate() methods may access the ServiceContext via pointer to freed OperationContext

    • Fully Compatible
    • ALL
    • Query 2017-11-13

      Aggregation expressions that need to access the TimeZoneDatabase will use an OperationContext* stored as part of the ExpressionContext to access the ServiceContext.

      In the following case, the original OperationContext will have been freed prior to use:

      1. The time-zone dependent expression lives within a collection validator, as part of a $expr expression

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: