-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Query 2020-10-05
There are many MatchExpression leaf nodes which contain a reference to a string that is owned elsewhere, with the most obvious case being any path-matching expression. This is fragile and requires awkward memory management to ensure that the original input (BSON or potentially a different concrete syntax tree) outlives the expression.