[New-bugs-announce] [issue33132] Possible refcount issues in the compiler

Serhiy Storchaka report at bugs.python.org
Sat Mar 24 08:32:25 EDT 2018


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

There are several possible reference leaks in compiler.c. When implicit (in VISIT* or ADDOP_* macros) "return" is occurred between creating a new object and ADDOP_N, there is a possible reference leaks. ADDOP_O followed by Py_DECREF contains a possible reference leaks.

And in compiler_from_import() names can be decrefed twice.

The following PR fixes these issues.

----------
assignee: serhiy.storchaka
components: Interpreter Core
messages: 314365
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Possible refcount issues in the compiler
type: resource usage
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33132>
_______________________________________


More information about the New-bugs-announce mailing list