Constellation / iv

ECMAScript Lexer / Parser / Interpreter / VM / method JIT written in C++
BSD 2-Clause "Simplified" License
415 stars 32 forks source link

Stack overflow - uncontrolled recursion #102

Open dominiakm opened 5 years ago

dominiakm commented 5 years ago

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.