summaryrefslogtreecommitdiff
path: root/internal/runtime
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 10:25:07 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 10:25:07 +0300
commit62104fbcabf811b6cd31db15f0f72db1f9d3c6e6 (patch)
tree9cdb813621bf9f4ecacdfc8db3aa8c365925230b /internal/runtime
parentd799f3f04da8067669c90a755e90cd723f9746e7 (diff)
cap filterStack undo history to 50 levels to prevent unbounded growth
Adds maxFilterHistory=50 and evicts the oldest entry from both the history and label-stack slices in filterStack.push whenever the cap is exceeded. Covers the fix with a new table-driven unit test. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime')
0 files changed, 0 insertions, 0 deletions