diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-15 13:37:27 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-15 13:37:27 +0900 |
| commit | 988e2ced0380e6783db854173d004d5ac64548ac (patch) | |
| tree | bb38ff95337e160744eef4021c52783d89f81ea6 /src/vm.c | |
| parent | af6041f1d09fc39b65c66ecc87fc63b9caead280 (diff) | |
| download | mruby-988e2ced0380e6783db854173d004d5ac64548ac.tar.gz mruby-988e2ced0380e6783db854173d004d5ac64548ac.zip | |
Ensure size of the stack before handling exceptions; fix #3693
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1836,6 +1836,7 @@ RETRY_TRY_BLOCK: if (ci != ci0) { mrb->c->stack = ci[1].stackent; } + stack_extend(mrb, irep->nregs); pc = mrb->c->rescue[--ci->ridx]; } else { |
