Should handle `break` from funcall(); fix #3434

This issue was reported by https://hackerone.com/d4nny
parent f1985304
...@@ -1733,7 +1733,7 @@ RETRY_TRY_BLOCK: ...@@ -1733,7 +1733,7 @@ RETRY_TRY_BLOCK:
acc = ci->acc; acc = ci->acc;
mrb->c->stack = ci->stackent; mrb->c->stack = ci->stackent;
cipop(mrb); cipop(mrb);
if (acc == CI_ACC_SKIP) { if (acc == CI_ACC_SKIP || acc == CI_ACC_DIRECT) {
mrb->jmp = prev_jmp; mrb->jmp = prev_jmp;
return v; return v;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment