diff options
| author | Carlo Prelz <[email protected]> | 2016-02-26 09:21:33 +0100 |
|---|---|---|
| committer | Carlo Prelz <[email protected]> | 2016-02-26 09:21:33 +0100 |
| commit | d6cbe1bfc6bb7b21cc779dd48aa042b71c8c94dc (patch) | |
| tree | 2bd47e75f794b8de14ed8c7ba06e0eec39726051 /src/array.c | |
| parent | 0c23d5a353bb3b5c6b8bac00affbb8d12597c41b (diff) | |
| download | mruby-d6cbe1bfc6bb7b21cc779dd48aa042b71c8c94dc.tar.gz mruby-d6cbe1bfc6bb7b21cc779dd48aa042b71c8c94dc.zip | |
The original code crashed when mrb->backtrace.n grew to 16.
It looks like the logic to reallocate the backtrace was flawed,
based on the wrong variable (loc_raw->i, which, as I have verified,
decreases from 16 to 0 instead of increasing)
I am not sure if this is the correct fix
Diffstat (limited to 'src/array.c')
0 files changed, 0 insertions, 0 deletions
