New submission from Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33132>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to