Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use JSON.stringify to trigger stack overflow #12481

Closed
wants to merge 1 commit into from

Commits on Apr 19, 2017

  1. test: use JSON.stringify to trigger stack overflow

    V8's interpreter performs stack checks both at the call site and at the
    function entry. A recursive function could therefore trigger stack
    overflow at two different source locations. Instead of recursion, call
    JSON.stringify on a deeply nested array.
    hashseed committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    2a3e8a3 View commit details
    Browse the repository at this point in the history