We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following input demonstrates a crash:
exc = Exception.new exc.set_backtrace([0]) raise exc
The crash occurs when print_backtrace treats the fixnum as if it was a string here:
print_backtrace
mruby/src/backtrace.c
Line 222 in bd50273
IRB checks the array in set_backtrace:
set_backtrace
-:2:in `set_backtrace': backtrace must be Array of String (TypeError) from -:2:in `<main>'
This issue was reported by https://hackerone.com/tunz
The text was updated successfully, but these errors were encountered:
Skip non string values in backtraces; ref #3408
28b7b9e
324887d
No branches or pull requests
The following input demonstrates a crash:
The crash occurs when
print_backtrace
treats the fixnum as if it was a string here:mruby/src/backtrace.c
Line 222 in bd50273
IRB checks the array in
set_backtrace
:This issue was reported by https://hackerone.com/tunz
The text was updated successfully, but these errors were encountered: