diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-02-18 15:56:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 12:56:23 +0000 |
commit | e2c28616ce6c3cdb1013c415125220a0b86b86a1 (patch) | |
tree | 4807fb6355148a12a09fc2ad8b305de9fe6543b3 /Python/ceval.c | |
parent | c3ce7781e3afe6f2dec5eef8e87fd5a664519ae9 (diff) | |
download | cpython-git-e2c28616ce6c3cdb1013c415125220a0b86b86a1.tar.gz |
bpo-46709: check eval breaker in specialized `CALL` opcodes (GH-31404)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index b900de53c8..5a6de5bce4 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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(); } |