The ci should not be equal to cibase with OP_R_BREAK; #3871

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-12-06 17:22:20 +09:00
parent 6975258efd
commit 0e46b14b9e
+3
View File
@@ -2065,6 +2065,9 @@ RETRY_TRY_BLOCK:
}
ci--;
}
if (ci == mrb->c->cibase) {
goto L_BREAK_ERROR;
}
break;
default:
/* cannot happen */