Commit graph

2 commits

Author SHA1 Message Date
Ruud van Asseldonk
bb34ecb643 Adjust stack depth counter again to avoid overflow
The bad input 3 was discovered by the fuzzer after I did the expansion.
I fixed it by lowering the limit, then it immediately discovered input
4 which had the same structure. So the right solution here is to add
more depth counters. It might mean that we double-count function calls,
but it does help.
2024-02-24 21:54:35 +01:00
Ruud van Asseldonk
4630bfad5d Add evaluation limit
This should enable the fuzzer to make progress again, and it's also
nicer for users of a configuration language if the evaluator reports an
error instead of hanging.
2024-02-10 15:27:51 +01:00