Open yrp604 opened 4 years ago
I can repro it, but only on windows interestingly enough. Thanks for the repro.
Reminder to myself: double check in ASAN linux build.
fyi theres also x64 asan in preview builds of vs2019 now
Fixed through my favorite advanced development technique of "wait a while".
2144-dev Personal, Windows 10 python 3.8
So apologies in advance, this involves multiple bits of broken python, but I promise I hit this through general use then minimized. Im not just going around putting broken code in things to create bug reports :\
Repro: 1) Open a binaryview, open the snippet editor 2) Create a snippet with a syntax error 3) Run it from the snippet editor itself:
4) Close the snippet editor and go to the python console
5) Enter any python code that will error, I used
for _ in xxx
again 6) Binja should immediately crash with a memory safety issue. It's usually a fast fail, but I've also seen a read access violation. It's always worked in one shot.