diff options
author | Sam Gross <colesbury@gmail.com> | 2025-02-26 14:55:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-26 14:55:15 -0500 |
commit | 45bc120d4504bff215938bca3f1d08cee2ed7a91 (patch) | |
tree | a8b6b398da6fb4f77ac542eed7ad61089a1e074b /Python/optimizer.c | |
parent | 5c8e8704c39110da15956b0678303aff7dffb3be (diff) | |
download | cpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.tar.gz cpython-45bc120d4504bff215938bca3f1d08cee2ed7a91.zip |
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/optimizer.c')
0 files changed, 0 insertions, 0 deletions