Before compiling an sbe::EExpression the caller is responsible for setting the root PlanStage on the CompileCtx. However, this is not enforced in any way. If the caller forgets to set it, this may result in a segfault. At the very least we should have an invariant that the root is set before dereferencing it, for example here.
- is related to
-
SERVER-62495 Ensure that CompileCtx::accumulator is set before accessing it
- Closed