Commit graph

3 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
11d3003208 Add eval depth check on collection literals
This resolves the stack overflow discovered by the fuzzer.
2024-02-24 21:43:39 +01:00
Ruud van Asseldonk
49827ab3ec Add golden for stack overflow bug
Even with the evaluation limit, the fuzzer managed to found a way around
it and still cause stack overflow. We'll need to bump the depth for
sequences as well.
2024-02-24 21:43:38 +01:00