Skip to content

Commit

Permalink
pythonGH-96572: fix use after free in trace refs build mode (python#9…
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 authored Sep 6, 2022
1 parent 95e271b commit 6744490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix use after free in trace refs build mode. Patch by Kumar Aditya.
2 changes: 1 addition & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6744490

Please sign in to comment.