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
Due to error handlers, some operations may have unsuspected effects. This is the cause of bugs and workarounds. Quoting GH-6903:
[...] long-standing source of interrupt
vulnerabilities: A notice is emitted during execution of an opcode,
resulting in an error handling being run. The error handler modifies
some data structure the opcode is working on, resulting in UAF or
other memory corruption.
These bugs and workarounds could be avoided by delaying error handlers until a safepoint. Existing/Previous work:
Activity
ndossche commentedon Oct 1, 2025
Another interesting, potentially less invasive fix, is to detect clobbering: #7735
arnaud-lb commentedon Oct 1, 2025
I like this approach, but is has the following drawbacks:
Defer user error handlers raised from user-code opcodes