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.
Version: 64c3a9c7c517063f29d90d449180ea8f6f4d946f
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.