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
The pattern language (both ImHex and the browser playground) will segfault upon running the following code:
structA {};
Aa;
strb=""+a;
I debugged this a little bit, and it looks like the issue is in Pattern::getValue(). The clone() call creates a unique_ptr, which is freed when the function is done, but its pointer is left in the returned value, which is no longer valid.
The text was updated successfully, but these errors were encountered:
The pattern language (both ImHex and the browser playground) will segfault upon running the following code:
I debugged this a little bit, and it looks like the issue is in
Pattern::getValue()
. Theclone()
call creates aunique_ptr
, which is freed when the function is done, but its pointer is left in the returned value, which is no longer valid.The text was updated successfully, but these errors were encountered: