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

Abort in mrb_exc_raise #3695

Closed
clayton-shopify opened this Issue Jun 6, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@clayton-shopify
Contributor

clayton-shopify commented Jun 6, 2017

The following demonstrates a crash:

$ ruby -e 'puts "a { b." + "c"*65534 + "=0 }"' | bin/mruby
ArgumentError:symbol length too long
Abort trap: 6

There is no crash if 65534 is increased or decreased by one, so it could be an off-by-one error.

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

@matz matz closed this in b9f771d Jun 7, 2017

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