1.code_dealloc (line 2550, Py_GIL_DISABLED only): co->co_tlbc->size accessed without NULL check when init_code fails on _PyCodeArray_New → segfault. 2._PyCode_New (line 741-743): replacement_locations not DECREF'd when init_code fails.
This is a sub-issue of #146102 with gist details
CPython main branch
Windows
gh-150546: Fix cleanup for replacement_locations in _PyCode_New() (#1…
pythongh-150546: Fix cleanup for replacement_locations in _PyCode_New…
Activity
gh-150546: Fix cleanup for replacement_locations in _PyCode_New() (#1…
pythongh-150546: Fix cleanup for replacement_locations in _PyCode_New…