Files
tuliprox/backend/core
euzuandGitHub 44d056b76d Fix/filter parse stack guard (#946)
* fix filter parse long filter chains without a stack limit error

pest 2.9.4 probes the native stack before parsing and reports only the
mapped stack region on static musl (~128 KiB), so a filter chain of a few
dozen terms failed with "stack limit reached" and restarted the container.
pest 2.9.5 limits the probe to targets whose stack bounds it can determine.

The expr rule now reads a chain as a flat operand list and folds it from the
right, so a long AND/OR chain no longer nests the parser stack while
grouping, NOT binding and results stay identical to the previous grammar.

* store the filter tree in an arena instead of nested boxes

Parsing, rendering, evaluating and dropping a filter no longer recurse per term,
so a long AND/OR chain no longer depends on the thread's stack.
2026-10-29 19:20:34 +01:00
..
2026-10-29 19:20:34 +01:00
2026-10-24 16:33:30 +02:00