-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
There are two places in the code where we call Py_DECREF
twice when _PyOptimizer_Optimize
returns -1
. In both cases, we do so in the conditional block and then as part of the GOTO_UNWIND
macro. This never really happens in practice, but it would be problematic if this error'd.
Line 4741 in 34ddb64
if (optimized < 0) { |
Line 4824 in 34ddb64
if (optimized < 0) { |
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error