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
{{ message }}
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
Kevin Reid edited this page Apr 16, 2015
·
1 revision
(legacy summary: finally blocks can fail to execute in one script block and control still proceed to another.)
Effect
Object can be observed in an inconsistent state if they can be tricked into calling out to code that causes an exception that is never caught.
Assumptions
Sensitive code uses try finally to preserve its correctness.
Those pieces of code are reachable without control being inside the body of a try statement with a catch statement.
That sensitive code can be tricked into causing an exception after inside a critical section guarded by a finally. Stack overflows result in exceptions.