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

Crash after NoMethodError is overwritten #3384

Closed
clayton-shopify opened this Issue Jan 9, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@clayton-shopify
Contributor

clayton-shopify commented Jan 9, 2017

The following input causes a crash:

NoMethodError = Fixnum
boom!

This causes an infinite recursion to execute in Ruby, but the C stack does not seem to overflow -- a crash occurs during garbage collection well before the stack is exhausted. Maybe there's a bug in the code that expands the Ruby stack or something?

This issue was reported by https://hackerone.com/brakhane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment