Constellation/iv

Stack overflow - uncontrolled recursion

Opened this issue · 0 comments

Version:
64c3a9c

Testcase:
((((((...(
Depanding on the memory limit, the number of brackets neccesery to trigger this may vary.
On my system, the following causes segmentation fault due to stack overflow:
python -c 'print("(" * 50000)' | ./lv5

Result:
Stack overflow due to stack space exhaustion.