-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
handle circular function
reference gracefully
#2446
Conversation
@kzc I'm trying to come up with a test that resembles real code - for instance, this works just fine without this PR: console.log(function factorial(n) {
return n ? n * factorial(n - 1) : 1;
}(10)); |
I don't think it's possible to come up with an example of single-use function cycles in non-dead code. |
FWIW I've managed to sneak in just under 1MFuzz on current |
110kFuzz passed without incident.
|
v3.1.7 | bbedbf4 |
---|---|
|
|
fixes #2442
/cc @kzc