mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-132011: Fix crash on invalid CALL_LIST_APPEND
deoptimization (#132018)
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
42e3a8410b
commit
c0661df42a
5 changed files with 32 additions and 4 deletions
5
Python/executor_cases.c.h
generated
5
Python/executor_cases.c.h
generated
|
@ -5710,7 +5710,10 @@
|
|||
UOP_STAT_INC(uopcode, miss);
|
||||
JUMP_TO_JUMP_TARGET();
|
||||
}
|
||||
assert(self_o != NULL);
|
||||
if (self_o == NULL) {
|
||||
UOP_STAT_INC(uopcode, miss);
|
||||
JUMP_TO_JUMP_TARGET();
|
||||
}
|
||||
if (!PyList_Check(self_o)) {
|
||||
UOP_STAT_INC(uopcode, miss);
|
||||
JUMP_TO_JUMP_TARGET();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue