You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there are certain number of continuous "{" inside input file, it may cause some stackoverflows.
For example, on my machine (Linux x86_64) when compiled with address sanitizer, espruino emits stack overflow when there are 130671, 130676, 130683, 130747, ... >130774 continuous "{" in the input files.
This was actually observed by our fuzzer in Espruino's older versions several times, but we didn't reproduce with vanilla address sanitizer. We wrote the following simple script to generate the input and finally reproduced it on ca13e4d.
BTW, it seems that whenever there are some crashes (although only in few scenarios), espruino will ruin the terminal (tried several machines and several terminals, all have this issue), it there any way to mitigate this?
When there are certain number of continuous "{" inside input file, it may cause some stackoverflows.
For example, on my machine (Linux x86_64) when compiled with address sanitizer, espruino emits stack overflow when there are 130671, 130676, 130683, 130747, ... >130774 continuous "{" in the input files.
This was actually observed by our fuzzer in Espruino's older versions several times, but we didn't reproduce with vanilla address sanitizer. We wrote the following simple script to generate the input and finally reproduced it on ca13e4d.
The text was updated successfully, but these errors were encountered: