bpo-46709: check eval breaker in specialized CALL opcodes (GH-31404)

This commit is contained in:
Nikita Sobolev 2022-02-18 15:56:23 +03:00 committed by GitHub
parent c3ce7781e3
commit e2c28616ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 93 additions and 58 deletions

View file

@ -4742,6 +4742,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -4761,6 +4762,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -4785,6 +4787,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -4816,6 +4819,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -4854,6 +4858,7 @@ handle_eval_breaker:
*/
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -4896,6 +4901,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -5013,6 +5019,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -5040,6 +5047,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}
@ -5067,6 +5075,7 @@ handle_eval_breaker:
if (res == NULL) {
goto error;
}
CHECK_EVAL_BREAKER();
DISPATCH();
}