summaryrefslogtreecommitdiffstats
path: root/Python/instruction_sequence.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2025-02-26 19:55:15 (GMT)
committerGitHub <noreply@github.com>2025-02-26 19:55:15 (GMT)
commit45bc120d4504bff215938bca3f1d08cee2ed7a91 (patch)
treea8b6b398da6fb4f77ac542eed7ad61089a1e074b /Python/instruction_sequence.c
parent5c8e8704c39110da15956b0678303aff7dffb3be (diff)
downloadcpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.zip
cpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.tar.gz
cpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.tar.bz2
gh-130519: Fix crash in QSBR when destructor reenters QSBR (gh-130553)
The `free_work_item()` function in QSBR may call arbitrary code via Python object destructors, which may reenter the QSBR code. Reorder the processing of work items to be robust to reentrancy. Also fix the TODO for the out of memory situation.
Diffstat (limited to 'Python/instruction_sequence.c')
0 files changed, 0 insertions, 0 deletions