topdown: Adding cap to caches for regex and glob built-in functions (#6846)
Fixing possible memory leak where caches grow uncontrollably when large amounts of regexes or globs are generated or originate from the input document. Fixes: #6828 Signed-off-by: Johan Fylling <johan.dev@fylling.se>
J
Johan Fylling committed
34349c5a6c32b811c1b705975f8bb28b035cf2a8
Parent: 8d2b2a8
Committed by GitHub <noreply@github.com>
on 7/5/2024, 9:18:37 AM