mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
GH-96572: fix use after free in trace refs build mode (#96618)
This commit is contained in:
parent
95e271b226
commit
67444902a0
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Fix use after free in trace refs build mode. Patch by Kumar Aditya.
|
|
@ -46,7 +46,7 @@
|
|||
# error "ceval.c must be build with Py_BUILD_CORE define for best performance"
|
||||
#endif
|
||||
|
||||
#ifndef Py_DEBUG
|
||||
#if !defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
|
||||
// GH-89279: The MSVC compiler does not inline these static inline functions
|
||||
// in PGO build in _PyEval_EvalFrameDefault(), because this function is over
|
||||
// the limit of PGO, and that limit cannot be configured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue