mirror of https://github.com/boa-dev/boa.git
Browse Source
This PR changes the following: - Updates the value of `pop_on_return` after a catch as to prevent VM stack corruption - Adds two test cases which demonstrate the issue and demonstrate that it has been fixed I am unsure if it is possible to abuse the patch provided; one would need to catch from within an array initialisation without calling into another frame (e.g., with a lambda), which I don't think is possible.pull/1865/head
Addison Crump
3 years ago
2 changed files with 40 additions and 1 deletions
Loading…
Reference in new issue