Possible null pointer dereference of freevars in _PyCompile_LookupArg #126238
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
easy
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Bug report
Bug description:
freevars is checked for null, but later possible dereference happens. Maybe replacing Py_DECREF by Py_XDECREF should do the trick.
CPython versions tested on:
3.11
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: