diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-09-06 18:28:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 18:28:18 (GMT) |
commit | a389fdb0958746c4c4ee8849a71a276516f33776 (patch) | |
tree | 6d2f43e89d44ef8d8c476f0acb85cefc342a2340 /Python | |
parent | 26dc4dfac31cf657bf6deb5aaab2df5b9b7c1a74 (diff) | |
download | cpython-a389fdb0958746c4c4ee8849a71a276516f33776.zip cpython-a389fdb0958746c4c4ee8849a71a276516f33776.tar.gz cpython-a389fdb0958746c4c4ee8849a71a276516f33776.tar.bz2 |
GH-96572: fix use after free in trace refs build mode (GH-96618)
(cherry picked from commit 67444902a0f10419a557d0a2d3b8675c31b075a9)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 23733b6..196a706 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -44,7 +44,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. |