shopify-scripts · Report #204047
Segmentation fault while printing backtrace
Validstatus
lowseverity
$1,000bounty
2upvotes
14 Mar 2017disclosed
How it was found
The code below crashes the sandbox/mruby as it tries to print the backtrace. Incidentally, it does not crash mirb.
def foo(n)
return '\'
if n \n' ensure %
if:n != if n == -1110
else foo(n-1).%
end
end %foo(0)
We are still examining the bug and hope to produce a detailed analysis and a fix this week.
Thank you, Dinko Galetic Denis Kasak