[issue16411] zlib.Decompress.decompress() retains pointer to input buffer without acquiring reference to it

Serhiy Storchaka report at bugs.python.org
Mon Nov 5 12:14:01 CET 2012


Serhiy Storchaka added the comment:

The decompressor does not hold a reference to the data object, but it holds a reference to the data. It's the unconsumed_tail attribute.

The patch is simple.

----------
keywords: +patch
Added file: http://bugs.python.org/file27891/issue16411.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16411>
_______________________________________


More information about the Python-bugs-list mailing list