diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-04-11 14:11:44 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-04-11 14:11:44 +0900 |
| commit | ae5b5ce5758efaaf05fefe443ff902714b641f3d (patch) | |
| tree | 2a7f2f7936e444cb434d61af3364fb213b4fe24b | |
| parent | d97a37eb7b4fe52bb1b16bb6f7410fbae85e3809 (diff) | |
| download | mruby-ae5b5ce5758efaaf05fefe443ff902714b641f3d.tar.gz mruby-ae5b5ce5758efaaf05fefe443ff902714b641f3d.zip | |
vm.c: mrb_hash_set() may reallocate VM stack; close #3133
| -rw-r--r-- | src/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2228,6 +2228,7 @@ RETRY_TRY_BLOCK: while (b < lim) { mrb_hash_set(mrb, hash, regs[b], regs[b+1]); + regs = mrb->c->stack; b+=2; } regs[GETARG_A(i)] = hash; |
