Property MaxReportExpressionDepth
MaxReportExpressionDepth
Gets or sets how deeply a report expression may nest, counted in operators and calls, or null for unlimited.
On by default (DefaultMaxReportExpressionDepth). An expression
is attacker-controlled text and its evaluator walks the tree it parses to, so the bound is
applied by the parser, at the first layer that walks it: an expression past the limit is
refused before any evaluation, and the failure it prevents is a
StackOverflowException no caller can catch.
public int? MaxReportExpressionDepth { get; set; }
Property Value
- int?
Exceptions
- ArgumentOutOfRangeException
The value is not positive.